copr: aws swapon typos
This commit is contained in:
parent
2a26d7b271
commit
b825c6246f
1 changed files with 2 additions and 2 deletions
|
@ -3,11 +3,11 @@
|
|||
set -e
|
||||
|
||||
swap_device=
|
||||
if test -e /dev/xvda1 -a test -e /dev/nvme0n1; then
|
||||
if test -e /dev/xvda1 && test -e /dev/nvme0n1; then
|
||||
swap_device=/dev/nvme0n1
|
||||
elif test -e /dev/nvme1n1; then
|
||||
swap_device=/dev/nvme1n1
|
||||
else
|
||||
fi
|
||||
|
||||
test -n "$swap_device"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue