Add missing os.Exit

This commit is contained in:
AlexSSD7 2023-10-13 08:58:19 +02:00
commit 1b8a043bea

View file

@ -43,6 +43,7 @@ var runCmd = &cobra.Command{
vmMountDevName = args[1] vmMountDevName = args[1]
} else if vmRuntimeLUKSContainerDevice != "" { } else if vmRuntimeLUKSContainerDevice != "" {
slog.Error("Cannot use the default (entire) device with a LUKS container. Please specify the in-VM device name to mount as a second positional argument.") slog.Error("Cannot use the default (entire) device with a LUKS container. Please specify the in-VM device name to mount as a second positional argument.")
os.Exit(1)
} }
var fsTypeOverride string var fsTypeOverride string