when args is uknown, says it and quit.

This commit is contained in:
primardj 2024-01-23 17:45:56 +00:00
parent 065f7a9438
commit 7246b61c35

4
dmount
View file

@ -92,5 +92,9 @@ for i in "$@"; do
umount_lvm_on_luks
exit 0
;;
*)
echo "Error, uknown args $i" >&2
exit 1
;;
esac
done