summaryrefslogtreecommitdiff
path: root/lib/remote.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/remote.tcl')
-rw-r--r--lib/remote.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/remote.tcl b/lib/remote.tcl
index 1852247358..b92b429cf7 100644
--- a/lib/remote.tcl
+++ b/lib/remote.tcl
@@ -271,5 +271,6 @@ proc remove_remote {name} {
delete_from_menu $remote_m.fetch $name
delete_from_menu $remote_m.prune $name
delete_from_menu $remote_m.remove $name
- delete_from_menu $remote_m.push $name
+ # Not all remotes are in the push menu
+ catch { delete_from_menu $remote_m.push $name }
}