mino bugfixes
This commit is contained in:
parent
79818e2457
commit
941f8bb749
|
@ -21,6 +21,7 @@ KNOWN ISSUES
|
||||||
RECENT CHANGES
|
RECENT CHANGES
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
- Improved execution hooks logs
|
||||||
- Various bugfixes introduced with function merge
|
- Various bugfixes introduced with function merge
|
||||||
- Added basic MacOS X support (yet not fully tested)
|
- Added basic MacOS X support (yet not fully tested)
|
||||||
- Merged tree list functions into one
|
- Merged tree list functions into one
|
||||||
|
|
6
osync.sh
6
osync.sh
|
@ -3,7 +3,7 @@
|
||||||
###### Osync - Rsync based two way sync engine with fault tolerance
|
###### Osync - Rsync based two way sync engine with fault tolerance
|
||||||
###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr)
|
###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr)
|
||||||
OSYNC_VERSION=0.99RC2
|
OSYNC_VERSION=0.99RC2
|
||||||
OSYNC_BUILD=1411201302
|
OSYNC_BUILD=1611201301
|
||||||
|
|
||||||
DEBUG=no
|
DEBUG=no
|
||||||
SCRIPT_PID=$$
|
SCRIPT_PID=$$
|
||||||
|
@ -465,7 +465,7 @@ function RunLocalCommand
|
||||||
LogError "Command failed."
|
LogError "Command failed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $verbose -eq 1 ]
|
if [ $verbose -eq 1 ] || [ $retval -ne 0 ]
|
||||||
then
|
then
|
||||||
Log "Command output:\n$(cat $RUN_DIR/osync_run_local_$SCRIPT_PID)"
|
Log "Command output:\n$(cat $RUN_DIR/osync_run_local_$SCRIPT_PID)"
|
||||||
fi
|
fi
|
||||||
|
@ -498,7 +498,7 @@ function RunRemoteCommand
|
||||||
LogError "Command failed."
|
LogError "Command failed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $RUN_DIR/osync_run_remote_$SCRIPT_PID ] && [ $verbose -eq 1 ]
|
if [ -f $RUN_DIR/osync_run_remote_$SCRIPT_PID ] && ([ $verbose -eq 1 ] || [ $retval -ne 0 ])
|
||||||
then
|
then
|
||||||
Log "Command output:\n$(cat $RUN_DIR/osync_run_remote_$SCRIPT_PID)"
|
Log "Command output:\n$(cat $RUN_DIR/osync_run_remote_$SCRIPT_PID)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue