Update osync.sh

update osync.sh to fix "function GetRemoteOS silently failing"
pull/7/head
senorsmile 10 years ago
parent 04cc1e9211
commit 5c0024bb24

@ -329,7 +329,7 @@ function GetRemoteOS
then
CheckConnectivity3rdPartyHosts
CheckConnectivityRemoteHost
eval "$SSH_CMD \"uname -spio\" > $RUN_DIR/osync_remote_os_$SCRIPT_PID 2>&1"
eval "$SSH_CMD \"uname -spio\" > $RUN_DIR/osync_remote_os_$SCRIPT_PID 2>&1" &
child_pid=$!
WaitForTaskCompletion $child_pid 120 240
retval=$?

Loading…
Cancel
Save