mainly fixes
[distro-setup] / brc
diff --git a/brc b/brc
index bd76bb4c8265890c517bdff5f501556ed0d76bcb..ffb796408ede66fb682d3b463c6f27b7b616261a 100644 (file)
--- a/brc
+++ b/brc
@@ -1378,6 +1378,10 @@ rmstrips() {
   ssh fencepost head -n 300 /gd/gnuorg/EventAndTravelInfo/rms-current-trips.txt | less
 }
 
+sudo () {
+  command sudo "$@" || return $?
+  DID_SUDO=true
+}
 s() {
   # background
   # I use a function because otherwise we cant use in a script,