Skip to content

Commit

Permalink
Merge pull request #215 from tkna91/patch-1
Browse files Browse the repository at this point in the history
Remove process of creating zero-length swap file
  • Loading branch information
picodotdev committed Jul 1, 2022
2 parents 0287f05 + 1e71f7d commit a8b73a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alis.sh
Expand Up @@ -579,7 +579,6 @@ function partition() {
if [ -n "$SWAP_SIZE" ]; then
if [ "$FILE_SYSTEM_TYPE" == "btrfs" ]; then
SWAPFILE="${BTRFS_SUBVOLUME_SWAP[2]}${SWAPFILE}"
truncate -s 0 ${MNT_DIR}${SWAPFILE}
chattr +C ${MNT_DIR}
fi

Expand Down

0 comments on commit a8b73a1

Please sign in to comment.