Add missing os.Exit
This commit is contained in:
parent
585b738709
commit
1b8a043bea
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue