From e1ceaed7e1050596e61359128ee0c09f76aef131 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 2 Jun 2009 20:02:40 -0400 Subject: [PATCH] installer: sleep (psuedo-)infinitely rather than exiting if the script fails Signed-off-by: Andres Salomon --- installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5