diff --git a/pishrink.sh b/pishrink.sh index 0b317b1..19ec060 100755 --- a/pishrink.sh +++ b/pishrink.sh @@ -155,7 +155,7 @@ if [[ $? != 0 ]]; then mv $mountdir/etc/rc.local.bak $mountdir/etc/rc.local umount $mountdir losetup -d $loopback - exit $rc + exit -7 fi sleep 1