Fix error message

This commit is contained in:
EnumDev 2025-04-08 13:48:16 +03:00
parent e021e814f4
commit a0aff54e95

View File

@ -77,7 +77,7 @@ func runChecks() {
} }
if strings.TrimSpace(*name) == "" { if strings.TrimSpace(*name) == "" {
log.Fatalf("No directory was specified!") log.Fatalf("No package name was specified!")
} }
if stat, err := os.Stat(path.Join("/etc/bpm-utils/", *template)); err != nil || stat.IsDir() { if stat, err := os.Stat(path.Join("/etc/bpm-utils/", *template)); err != nil || stat.IsDir() {