iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i3 fix, other improvements
[distro-setup]
/
btrfsmaint
diff --git
a/btrfsmaint
b/btrfsmaint
index f50f5494e2aba068fb68aa2bd51f748b87d358a7..3eb4759ad104029c54613c754a2980116ae95812 100755
(executable)
--- a/
btrfsmaint
+++ b/
btrfsmaint
@@
-29,7
+29,7
@@
set -e; . /usr/local/lib/bash-bear; set +e
# inspired from
# https://github.com/kdave/btrfsmaintenance
-if [[ $
INVOCATION_ID
]]; then
+if [[ $
PPID == 1
]]; then
err-cleanup() {
exim -odf -i root <<EOF
From: root@$(hostname -f)