summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgigamicro2024-04-15 15:09:05 -0400
committergigamicro2024-04-15 15:09:05 -0400
commit1198ca8ce00def1a80efe81ea7df2416213e2814 (patch)
treeba44e5c4177b569082f9fc9d91979c6ef0d0a7b9
parent56292fe0199cf0245b1981694daece58dadca16b (diff)
downloadaur-1198ca8ce00def1a80efe81ea7df2416213e2814.tar.gz
fix passthrough
-rw-r--r--wfinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/wfinfo.sh b/wfinfo.sh
index cf739168c22e..6f0a63e5a282 100644
--- a/wfinfo.sh
+++ b/wfinfo.sh
@@ -12,7 +12,7 @@ fi
# wfinfo-ng will create multiple PNG files in $PWD
# this would delete them, but we've already got a cache directory anyway
#cleanup(){ echo Exit; rm ./*.png; exit 130; }; trap cleanup INT
-exec wfinfo-ng "${1-$(
+exec wfinfo-ng "${1:-$(
# EE.log location set manually in cachedir?
cat "$CACHEDIR/EElogloc" 2>&- ||
# find EE.log with most recent modification time