Skip to content

Commit

Permalink
use apt-get with --error-on=any option
Browse files Browse the repository at this point in the history
for better error handling
  • Loading branch information
adrelanos authored Dec 23, 2023
1 parent 4bd63de commit f3cb344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ -x /usr/bin/aptitude ] ; then
fi
else
APTINSTALL="apt-get -y --no-install-recommends install $DPKG_OPTIONS"
APTUPDATE="apt-get update $DPKG_OPTIONS"
APTUPDATE="apt-get --error-on=any update $DPKG_OPTIONS"
APTUPGRADE="apt-get -y upgrade $DPKG_OPTIONS"
fi

Expand Down

0 comments on commit f3cb344

Please sign in to comment.