diff --git a/osync.sh b/osync.sh index c2d425e..3304735 100755 --- a/osync.sh +++ b/osync.sh @@ -1911,7 +1911,7 @@ function SyncOnChanges cmd="bash $osync_cmd $opts --no-locks" fi eval $cmd - retval = $? + retval=$? if [ $retval != 0 ] then LogError "osync child exited with error."