Fix sh script (missing "#!")
authorNiki Roo <niki@nikiroo.be>
Mon, 19 Mar 2018 16:14:11 +0000 (17:14 +0100)
committerNiki Roo <niki@nikiroo.be>
Mon, 19 Mar 2018 16:14:11 +0000 (17:14 +0100)
gopher.sh

index ea93fbe4da004341280f3853880bc17d88142170..a728d0b66467e16d8817f605900f556bc13a15af 100755 (executable)
--- a/gopher.sh
+++ b/gopher.sh
@@ -39,7 +39,7 @@ if [ ! -d "$tmpd" ]; then
        exit 2
 fi
 
-echo "#/bin/sh
+echo "#!/bin/sh
 # PID: $$
 # PID File (this file): $PIDF
 # You can stop the service by deleting this file then making a last
@@ -77,3 +77,4 @@ while [ -e "$PIDF" ]; do
        ) > "$fifo"
 done
 rm -rf "$tmpd" 2>/dev/null
+