From f2c4618f5b2880c252033cf916f87dcfa596b8b2 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 24 Feb 2023 11:27:13 +0100 Subject: [PATCH] Missing pipe --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update b/bin/update index f889e34..39fb7b9 100755 --- a/bin/update +++ b/bin/update @@ -184,7 +184,7 @@ update-system() { if [ $? -eq 0 ]; then echo $password | sudo -Sp "" apt upgrade -y if [ $? -eq 0 ]; then - echo $password sudo -Sp "" apt autoremove -y + echo $password | sudo -Sp "" apt autoremove -y fi fi fi