commit c8b6fcb3a284455a0f353000f4985226ee09fd33
parent bcd78669f383091804607fe5b675c93739e1a664
Author: hhvn <hayden@haydenvh.com>
Date: Wed, 3 Feb 2021 03:02:22 +0000
include/permissions.sh: wrong column in get_log
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/log.sh b/include/log.sh
@@ -14,7 +14,7 @@ add_log(){
get_log(){
awk -v "date=$(date +%Y-%d-%m)" -v "key=$1" -F" " '
- $1 == date && $3 == key {print $3}
+ $1 == date && $3 == key {print $4}
' < $datadir/log/log
}