use the force when creating swap

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2016-12-09 14:20:23 +01:00
parent 9ee0de7c8b
commit 42e197a5ba

View file

@ -24,7 +24,7 @@ type="$(cat "$__object/parameter/type")"
case "$type" in
swap)
echo "mkswap $device"
echo "mkswap -f $device"
exit 0
;;
xfs)