osync-srv: Fix syntax errors when setting errno
Two instances in the osync-srv script throw an error when setting errno to 1. In both instances errno is expanded from '$errno=1' to '0=1'. In the first instance there is invalid spacing around the equals symbol. Signed-off-by: Jookia <166291@gmail.com>
This commit is contained in:
parent
6d37e161c8
commit
a0d7ec544d
|
@ -60,7 +60,7 @@ start() {
|
|||
echo "$prog successfully started for configuration file $cfgfile"
|
||||
else
|
||||
echo "Cannot start $prog for configuration file $cfgfile"
|
||||
$errno = 1
|
||||
errno=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -106,7 +106,7 @@ status() {
|
|||
echo "$prog instance $(basename $pfile) is running (pid $(cat $pfile))"
|
||||
else
|
||||
echo "$prog instance $pfile (pid $(cat $pfile)) is dead but pidfile exists."
|
||||
$errno=1
|
||||
errno=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue