From 1b8a043bea3ff2352d4d6c3c740d453714bb5570 Mon Sep 17 00:00:00 2001 From: AlexSSD7 Date: Fri, 13 Oct 2023 08:58:19 +0200 Subject: [PATCH] Add missing os.Exit --- cmd/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/run.go b/cmd/run.go index 7fac91e..e3b19b5 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -43,6 +43,7 @@ var runCmd = &cobra.Command{ vmMountDevName = args[1] } 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.") + os.Exit(1) } var fsTypeOverride string