aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 10:37:30 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 10:37:30 -0500
commit8999cb53387e2007d755d345e452dd9bd65c267f (patch)
tree63f5bf13fca429753455b0b86d3f6ea393eaab76 /lfs.sh
parent48c1619900e36297e9ac36bd1294f396e954ccfb (diff)
Exit when creating partition or filesystem fails. Use LFS_FS variable from env.sh so user can decide which filesystem to use.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-xlfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lfs.sh b/lfs.sh
index ad7f2ea..708328a 100755
--- a/lfs.sh
+++ b/lfs.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+set -u
+
clear
printf "%b" "Sourcing colors...\n"