iankelling.org
/
git
/
log-quiet
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63fa36
)
satisfy shellcheck
author
Ian Kelling
<iank@fsf.org>
Sat, 27 Apr 2024 23:24:41 +0000
(19:24 -0400)
committer
Ian Kelling
<iank@fsf.org>
Sat, 27 Apr 2024 23:24:41 +0000
(19:24 -0400)
logq-function
patch
|
blob
|
history
diff --git
a/logq-function
b/logq-function
index a18319f680a598d63df02db2c435d22a18b2487b..3744d101ffeab7e34cff643396d8377ded56175c 100644
(file)
--- a/
logq-function
+++ b/
logq-function
@@
-53,11
+53,12
@@
$help"
printf "%s\n%s\n\n" "Log of $prettycommand" "$(date)" >"$file"
if [[ $- != *x* ]]; then
- echo "log $file = $
@
"
+ echo "log $file = $
*
"
fi
# we will propagate any errors
- local logq_ret=$(
+ local logq_ret
+ logq_ret=$(
set +e
trap ERR
"$@" &>> "$file"