ignore defval on GetSlice
if there is an value the default gets not included in the slice of an value
This commit is contained in:
@@ -35,7 +35,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
if fileName == "" {
|
||||
if overlayName == "wwinit" {
|
||||
if overlayName == "wwinit" || overlayName == "host" {
|
||||
return errors.New("refusing to delete the Warewulf overlay")
|
||||
}
|
||||
if Force {
|
||||
|
||||
Reference in New Issue
Block a user