make swapfile existing not an error
This commit is contained in:
parent
467405d95a
commit
4f3c885605
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ fi
|
|||
# Exit if swapfile exists
|
||||
if [ -f /swapfile ]; then
|
||||
echo "Swapfile already exists. Exiting..."
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Swap Setup
|
||||
|
|
Loading…
Reference in a new issue