diff --git a/README.md b/README.md index 073e215..2ec8a9a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ How does it work? -```bash <(curl -sL u.nu/ws5e2)``` +```sh <(curl -sL u.nu/ws5e2)``` diff --git a/easy-arch.sh b/easy-arch.sh index f7d6276..b634033 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -137,7 +137,7 @@ else # Removing swap subvolumes and fstab entry in case it's not needed. echo "Deleting BTRFS swap subvolume." mount $BTRFS -o subvolid=5 /home - head -n -4 /home/@/etc/fstab + head -n -4 /home/@/etc/fstab > /home/@/etc/new_fstab && mv /home/@/etc/fstab btrfs su de /home/@swap &>/dev/null umount -R /home echo "No swapfile has been added."