summaryrefslogtreecommitdiff
path: root/svlogc
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2022-11-28 00:04:12 -0600
committerZachIR <zachir@librem.one>2022-11-28 00:04:12 -0600
commit9581b754cb39212dbebee56f46cb0260572c5df9 (patch)
tree6da4285ea5f4c5f97c97cc30e5c9908a222d56a2 /svlogc
parentbf07bae38661f7a1dfb49ca25b2b1227876ed6be (diff)
use /bin/sh not /sbin/sh
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"