Skip to content

Commit 9117747

Browse files
committed
Fixed typo with SCRIPTNAME variable
1 parent ec29a5c commit 9117747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: minecraft

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
############################[ Script Start]#############################
4040

41-
scriptname="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
41+
SCRIPTNAME="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
4242
lockfile="/var/lock/"$scriptname
4343

4444
echo "Reading settings from /etc/$SCRIPTNAME.conf"

0 commit comments

Comments
 (0)