diff options
| author | Jeff Carr <[email protected]> | 2025-01-17 09:47:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-17 09:47:21 -0600 |
| commit | af84727178d1fbe1df04a5f8ee536798f3761d6d (patch) | |
| tree | 913b88f3f6b69420514df8bb758b55e4356b7cd2 /send.go | |
| parent | 4f282cc30200c5896db2ae4677b20c6f8c1f1abc (diff) | |
show list patch error
Diffstat (limited to 'send.go')
| -rw-r--r-- | send.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,6 +51,9 @@ func listPatches() error { last = strings.TrimSpace(line) } parts := strings.Fields(last) + if len(parts) == 0 { + return fmt.Errorf("listPatches() there are no patchsets at this time") + } getPatch(parts[0]) return nil } |
