From: Andres Salomon Date: Wed, 3 Jun 2009 00:02:40 +0000 (-0400) Subject: installer: sleep (psuedo-)infinitely rather than exiting if the script fails X-Git-Tag: v0.6~44 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=commitdiff_plain;h=e1ceaed7e1050596e61359128ee0c09f76aef131 installer: sleep (psuedo-)infinitely rather than exiting if the script fails Signed-off-by: Andres Salomon --- diff --git a/installer b/installer index 59888f7..dbcd0bc 100755 --- a/installer +++ b/installer @@ -38,7 +38,7 @@ do_install() echo "Starting installer!" if [ ! -d /root/etc ]; then echo "Error: /root doesn't appear to have a valid filesystem mounted!" - exit 1 + sleep 9999999999 fi ROOT_SRC=$(grep ' /root ' /proc/mounts | cut -d' ' -f1) @@ -48,7 +48,7 @@ do_install() if [ -z "$TARGET" ]; then echo "Error: couldn't find drive to install to!" - exit 1 + sleep 9999999999 fi # don't keep fs mounted while copying it