summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap-stage1-install.sh2
-rwxr-xr-xbootstrap-stage2-install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh
index 2bf354c..eb9867c 100755
--- a/bootstrap-stage1-install.sh
+++ b/bootstrap-stage1-install.sh
@@ -59,7 +59,7 @@ log()
clean_root()
{
- [ -d root1 ] || return
+ [ -d root1 ] || return 0
cd root1
diff --git a/bootstrap-stage2-install.sh b/bootstrap-stage2-install.sh
index f50f42c..819996d 100755
--- a/bootstrap-stage2-install.sh
+++ b/bootstrap-stage2-install.sh
@@ -58,7 +58,7 @@ log()
clean_root()
{
- [ -d root2 ] || return
+ [ -d root2 ] || return 0
cd root2