few fixes, mostly x related improvements
[distro-setup] / epanic-clean
index c9739ba6d8474516e2c71fd1237f3665cb5527dc..f6328c2b41a26bd27624098d013f872b307c68d6 100755 (executable)
@@ -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