diff options
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 } |
