summaryrefslogtreecommitdiffstats
path: root/source/n/netatalk/rc.atalk.new
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/netatalk/rc.atalk.new')
-rw-r--r--source/n/netatalk/rc.atalk.new2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/netatalk/rc.atalk.new b/source/n/netatalk/rc.atalk.new
index bc079b580..24b01fd0c 100644
--- a/source/n/netatalk/rc.atalk.new
+++ b/source/n/netatalk/rc.atalk.new
@@ -30,7 +30,7 @@ netatalk_restart() {
# Check if netatalk is running
netatalk_status() {
- PID="$(/usr/bin/pgrep --ns $$ -f "^/usr/sbin/netatalk" 2> dev/null)
+ PID="$(/usr/bin/pgrep --ns $$ -f "^/usr/sbin/netatalk" 2> /dev/null)"
if [ $PID ]; then
echo "netatalk is running. PID: $PID"
else