Skip to content

Commit 3c97dfa

Browse files
Add || true so that user script never fails (#1489)
1 parent f678b00 commit 3c97dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/os/scripts/apt-disable-unattended-upgrades.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ done
2727
# Kill any unattended-upgrades processes that didn't terminate
2828
pgrep unattended-upgrades | xargs -r -n 1 -t kill -KILL || true
2929

30-
apt-get -y purge unattended-upgrades
30+
apt-get -y purge unattended-upgrades || true

0 commit comments

Comments
 (0)