about summary refs log tree commit diff stats
path: root/bootstrap/install
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 23:22:21 +0100
committerene <ene@sils.li>2023-02-19 23:31:14 +0100
commit22e13ea41a1cab6d3b9acdefa9338f3e0709ed74 (patch)
tree45585d38048dc74046332c3f5c63cda7ab0bb50c /bootstrap/install
parentFix(bootstrap): Remove useless awk call (diff)
downloadnixos-config-22e13ea41a1cab6d3b9acdefa9338f3e0709ed74.tar.gz
nixos-config-22e13ea41a1cab6d3b9acdefa9338f3e0709ed74.zip
Fix(bootstrap): Allow to run the installer multiple times
Diffstat (limited to 'bootstrap/install')
-rwxr-xr-xbootstrap/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/install b/bootstrap/install
index 3cdf578e..81829019 100755
--- a/bootstrap/install
+++ b/bootstrap/install
@@ -73,7 +73,7 @@ esac
 
 msg "Started Formatting..."
 mkfs.fat -F32 "$DISK_EFI" > /dev/null || dien "Formatting(fat32)"
-mkfs.btrfs "$DISK_ROOT" > /dev/null || dien "Formatting(btrfs)"
+mkfs.btrfs -f "$DISK_ROOT" > /dev/null || dien "Formatting(btrfs)"
 
 
 msg "Mounting..."