Update osync.sh
This commit is contained in:
parent
e3f5b2f85b
commit
f28baa0a46
4
osync.sh
4
osync.sh
|
@ -1703,7 +1703,7 @@ function SyncOnChanges
|
||||||
{
|
{
|
||||||
if ! type -p inotifywait > /dev/null 2>&1
|
if ! type -p inotifywait > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
LogError "No inotifywait command found."
|
LogError "No inotifywait command found. Cannot monitor changes."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1811,7 +1811,7 @@ then
|
||||||
then
|
then
|
||||||
if [ $daemonize -eq 1 ]
|
if [ $daemonize -eq 1 ]
|
||||||
then
|
then
|
||||||
echo $SCRIPT_PID > $PID_FILE
|
## echo $SCRIPT_PID > $PID_FILE
|
||||||
silent=1
|
silent=1
|
||||||
exec > /dev/null 2>&1
|
exec > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue