iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various improvements
[distro-setup]
/
btrfsmaint
diff --git
a/btrfsmaint
b/btrfsmaint
index 871a0d380ab39e854fedfd88277c9010f1d34464..0204ed5aa78a4e9043e0aae3a624066252a77955 100755
(executable)
--- a/
btrfsmaint
+++ b/
btrfsmaint
@@
-3,7
+3,7
@@
[[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@"
[[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@"
-f=/usr/local/lib/err;test -r $f || { echo "error: $0 no $f" >&2;exit 1;}; . $f
+set -e; . /usr/local/lib/err; set +e
# inspired from
# https://github.com/kdave/btrfsmaintenance
# inspired from
# https://github.com/kdave/btrfsmaintenance