X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=epanic-clean;h=f6328c2b41a26bd27624098d013f872b307c68d6;hb=8de1e14e35d0ad62620a59f6e2ca4ba19ddcda3c;hp=c9739ba6d8474516e2c71fd1237f3665cb5527dc;hpb=f27b67a1dfa58b5f101bba607b2f91a73e65299e;p=distro-setup diff --git a/epanic-clean b/epanic-clean index c9739ba..f6328c2 100755 --- a/epanic-clean +++ b/epanic-clean @@ -202,7 +202,7 @@ if [[ ! -w $pl-archive ]]; then chmod 664 $pl-archive fi -if [[ $INVOCATION_ID ]]; then +if [[ $PPID == 1 ]]; then loop-main else main