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:
parent
d6170c88b5
commit
e033481f9d
@ -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=$?
|
||||
|
Loading…
Reference in New Issue
Block a user