Fixed bad operator

This commit is contained in:
Raphael Numbus
2025-12-07 12:40:49 +01:00
parent 095c537ed2
commit 75144767b4
+1 -4
View File
@@ -505,11 +505,8 @@ EOF
EOF
echo -e "\n ✅ Final disko configuration created."
echo $NUMBER_OF_CONTENT_DISKS
echo $NUMBER_OF_PARITY_DISKS
# --> Generate automatic unlock configuration in ./nix-config/disks/snapraid.nix
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 1 || "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 1 && "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
echo -e "\n ✅ Generating automatic disk unlocking configuration..."
sed -i '$ d' ./nix-config/disks/snapraid.nix