aboutsummaryrefslogtreecommitdiff
path: root/bin/logthis
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-07-23 18:03:03 +0300
committerkaotisk <kaotisk@arching-kaos.org>2022-07-23 18:03:03 +0300
commitde432985d4e2e0bb3b1159173599dd5716bbdee3 (patch)
tree03f8926800a2aee57a37b19c21ba57ed56402340 /bin/logthis
parent29cbba119d6c7328a95703a9c365db369f6097d5 (diff)
downloadarching-kaos-tools-de432985d4e2e0bb3b1159173599dd5716bbdee3.tar.gz
arching-kaos-tools-de432985d4e2e0bb3b1159173599dd5716bbdee3.tar.bz2
arching-kaos-tools-de432985d4e2e0bb3b1159173599dd5716bbdee3.zip
Takes two arguments, one for type of log entry, error, info for now
Diffstat (limited to 'bin/logthis')
-rwxr-xr-xbin/logthis2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/logthis b/bin/logthis
index a13f2e0..0839422 100755
--- a/bin/logthis
+++ b/bin/logthis
@@ -1,3 +1,3 @@
#!/bin/bash
-echo "$(date -u +%s)" "$1" >> $LOGSFILE
+echo "$(date -u +%s)" "$1" "$2" >> $LOGSFILE