Fixed the extra : in jokes file.
This commit is contained in:
1 parent
278acc4d8f
commit
d6825c4a92
1 file changed
+1
-1
@@ -7,7 +7,7 @@ lastLine="$(grep -n '^exit 0' $0)"
|
||||
lastLine=${lastLine%%:*}
|
||||
lastLine=$((lastLine + 1))
|
||||
# display a line from the end of the file after the script
|
||||
msg "$2" "$(tail +${lastLine} "$0" | sed '/^$/d' | shuf -n1)":
|
||||
msg "$2" "$(tail +${lastLine} "$0" | sed '/^$/d' | shuf -n1)"
|
||||
|
||||
# Put jokes after the exit, one per line.
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user