summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-12-08 02:44:20 (EST)
committer P. J. McDermott <pjm@nac.net>2013-12-08 02:44:20 (EST)
commit981579d6e5adebca747a154eab46b1fac0a2b1c2 (patch)
tree85357ff4f225105322d8e11875c1747add560511
parentae01d23841968bb1cded7171b949d20dfb6a34bb (diff)
Fix error on first installation runs.
-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