X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrfsmaint;h=f50f5494e2aba068fb68aa2bd51f748b87d358a7;hb=HEAD;hp=85f2f349711dd92584430c059acffd4071d2aa46;hpb=50f25d1eec109c4596cfc638c9a7c98da0f0b5d0;p=distro-setup diff --git a/btrfsmaint b/btrfsmaint index 85f2f34..3eb4759 100755 --- 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 </dev/null); then if [[ $lock_info != *non-blanked* ]]; then locked=true fi - else - locked=true fi }