summaryrefslogtreecommitdiff
path: root/svlogc
diff options
context:
space:
mode:
Diffstat (limited to 'svlogc')
-rwxr-xr-xsvlogc2
1 files changed, 1 insertions, 1 deletions
diff --git a/svlogc b/svlogc
index 7b77a67..1df3a59 100755
--- a/svlogc
+++ b/svlogc
@@ -1,4 +1,4 @@
-#!/sbin/sh
+#!/bin/sh
SERV_NAME=$(echo "$1" | sed 's/\/log$//')
[ -f /var/log/"$SERV_NAME"/current ] && tac /var/log/"$(echo "$1" | sed 's/\/log$//')"/current | less || echo "Cannot read log"