summaryrefslogtreecommitdiff
path: root/super.sh
diff options
context:
space:
mode:
authorSt33v <github@f3rr3t.com>2026-02-02 11:10:05 +1100
committerSt33v <github@f3rr3t.com>2026-02-02 11:10:05 +1100
commit8afd703427d86fdb7ef6e3046a4075d99366fac0 (patch)
tree2087377f2bf3ae827792a5d305ab9ae8dc94f570 /super.sh
parenta816f25bd534792ba60cbe9650a5b47a015bcede (diff)
commit very old files
Diffstat (limited to 'super.sh')
-rwxr-xr-xsuper.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/super.sh b/super.sh
index 325f86d..36e02c6 100755
--- a/super.sh
+++ b/super.sh
@@ -15,8 +15,11 @@ if [ -z $1 ]
exit 1
fi
-echo $theDate,$1 >> $logFile
-#printf '%s,%s\n' $theDate ,$1 >> $logFile
+if [ $1 != "tail" ]
+ then
+ echo $theDate,$1 >> $logFile
+ #printf '%s,%s\n' $theDate ,$1 >> $logFile
+fi
# Note: double quote expression to preserve carriage returns (thanks, stackoverflow)
echo "$(tail ${logFile})"