Add missing call to sudo
This commit is contained in:
parent
e703f1332a
commit
fd78ed471c
|
@ -17,7 +17,7 @@ function encode-with-ffmpeg() {
|
||||||
function run-remote-apt-upgrade() {
|
function run-remote-apt-upgrade() {
|
||||||
host=$1
|
host=$1
|
||||||
|
|
||||||
ssh "$host" -t "tmux new-session -d -A -s apt-updates \; send-keys 'sudo apt clean && sudo apt update && sudo apt upgrade && sudo apt autoremove && tripwire --check --interactive' ENTER \; attach"
|
ssh "$host" -t "tmux new-session -d -A -s apt-updates \; send-keys 'sudo apt clean && sudo apt update && sudo apt upgrade && sudo apt autoremove && sudo tripwire --check --interactive' ENTER \; attach"
|
||||||
}
|
}
|
||||||
|
|
||||||
function tmux-main() {
|
function tmux-main() {
|
||||||
|
|
Loading…
Reference in New Issue