1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Updated RunLocalCommand execution hook

This commit is contained in:
deajan 2013-11-02 19:41:05 +01:00
parent d6170c88b5
commit e033481f9d

View File

@ -405,7 +405,7 @@ function RunLocalCommand
return 1
fi
Log "Running command [$1] on local host."
$1 > $RUN_DIR/obackup_run_local_$SCRIPT_PID 2>&1 &
eval "$1" > $RUN_DIR/obackup_run_local_$SCRIPT_PID 2>&1 &
child_pid=$!
WaitForTaskCompletion $child_pid 0 $2
retval=$?