iankelling.org
/
git
/
log-quiet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stop returning 1. use pipefail if needed
[log-quiet]
/
sysd-mail-once
diff --git
a/sysd-mail-once
b/sysd-mail-once
index e4305aec3ce621764cf517f9d311c179106bc79b..6e6807686a43c3e7f78a6c93b556533da9e8c02a 100755
(executable)
--- a/
sysd-mail-once
+++ b/
sysd-mail-once
@@
-18,7
+18,7
@@
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
errors=3
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
errors=3
-cbase=
/var/local/cron-errors
+cbase=
$HOME/sysd-mail-once-state
case "$1" in
-h|--help)
cat <<EOF
case "$1" in
-h|--help)
cat <<EOF