summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-14 19:23:00 +0200
committerewy <ewy0@protonmail.com>2026-04-14 19:23:00 +0200
commit50d7be8d947b71e4dba181314fcf3392100d0080 (patch)
treed8106c362486bbd194c79e9fe2e2075e4eb6029d /main.go
parent4fd3756396bcdb6ecad4b2a836c68349e797004d (diff)
cleanup
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index cc8275e..ce8ea95 100644
--- a/main.go
+++ b/main.go
@@ -88,6 +88,10 @@ func main() {
spool.Warn("%v\n", err)
os.Exit(1)
}
+ if target == nil {
+ spool.Warn("no target selected.\n")
+ os.Exit(0)
+ }
err = run.Run(source.Source, target, args...)
if err != nil {
spool.Warn("%v\n", err)