diff --git a/pocketbased.sh b/pocketbased.sh index 5fcd92b..aef9fe2 100755 --- a/pocketbased.sh +++ b/pocketbased.sh @@ -9,7 +9,7 @@ case $1 in rm "${pid}" ;; *) - test -f "${pid}" || exit 1 + test -f "${pid}" && exit 1 daemonize -c /srv/pocketbase -p $pid -u nobody \ /usr/local/bin/syslogize \