summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-02-28 20:48:18 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-02-28 20:48:18 -0700
commiteb3fcd844721077e40a4b4b77e7098826458d293 (patch)
treed13b30c96b9a613d880c178705bb48555dbfe5e8
parent33118fdd968c7b0f3cd8e6b876ffb748f5be7dfd (diff)
downloaddotfiles-eb3fcd844721077e40a4b4b77e7098826458d293.tar.gz
remove a sudo prompt
-rwxr-xr-xbin/weekly-backups3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/weekly-backups b/bin/weekly-backups
index a4b4cce4..e0929b33 100755
--- a/bin/weekly-backups
+++ b/bin/weekly-backups
@@ -27,8 +27,7 @@ status and it has not been unexpectedly rebooted recently
status Or hit C-c and deal with the situation
read _
-try ssh -t athena sudo apt-get update
-try ssh -t athena sudo apt-get upgrade
+try ssh -t athena "sudo apt-get update && sudo apt-get upgrade"
status running src-unregistered check
status unregistered repos need to have 'mr register' run in them