diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-14 19:23:00 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-14 19:23:00 +0200 |
| commit | 50d7be8d947b71e4dba181314fcf3392100d0080 (patch) | |
| tree | d8106c362486bbd194c79e9fe2e2075e4eb6029d /main.go | |
| parent | 4fd3756396bcdb6ecad4b2a836c68349e797004d (diff) | |
cleanup
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
