use the force when creating swap
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
9ee0de7c8b
commit
42e197a5ba
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ type="$(cat "$__object/parameter/type")"
|
|||
|
||||
case "$type" in
|
||||
swap)
|
||||
echo "mkswap $device"
|
||||
echo "mkswap -f $device"
|
||||
exit 0
|
||||
;;
|
||||
xfs)
|
||||
|
|
Loading…
Reference in a new issue