From 86e9b9054a97f75a111accc133e15233662aecfa Mon Sep 17 00:00:00 2001 From: patvdv Date: Thu, 27 Aug 2015 17:12:13 +0200 Subject: [PATCH] Small fix in sfttp_file() --- manage_sudo.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manage_sudo.sh b/manage_sudo.sh index 282021e..cc604bf 100644 --- a/manage_sudo.sh +++ b/manage_sudo.sh @@ -41,6 +41,7 @@ # @(#) 2015-08-26: added DO_SFTP_CHMOD configuration parameter to avoid # @(#) setstat failures with sftp_file() when remote file # @(#) permissions do not allow (VRF 1.2.1) [Patrick Van der Veken] +# @(#) 2015-08-27: smmall fix in sftp_file() (VRF 1.2.2) [Patrick Van der Veken] # ----------------------------------------------------------------------------- # DO NOT CHANGE THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING! #****************************************************************************** @@ -54,7 +55,7 @@ # or LOCAL_CONFIG_FILE instead # define the V.R.F (version/release/fix) -MY_VRF="1.2.1" +MY_VRF="1.2.2" # name of the global configuration file (script) GLOBAL_CONFIG_FILE="manage_sudo.conf" # name of the local configuration file (script) @@ -677,14 +678,14 @@ OLD_PWD=$(pwd) && cd ${TRANSFER_DIR} # transfer, (possibly) chmod the file to/on the target server (keep STDERR) if (( DO_SFTP_CHMOD )) then - sftp ${SFTP_ARGS} ${SSH_TRANSFER_USER}@${TRANSFER_HOST} >/dev/null </dev/null </dev/null </dev/null <