Skip to content

Commit

Permalink
remove double trap definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 15, 2023
1 parent 8012798 commit 85f0c36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/fai-make-nfsroot
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,6 @@ trap "bad_exit" ERR

# just upgrade the nfsroot and install packages into it
[ -n "$kinstall" ] && {
trap "true" EXIT
echo "Upgrading nfsroot and installing new packages into the nfsroot."
$ROOTCMD apt-get update
$ROOTCMD apt-get -y dist-upgrade
Expand Down

0 comments on commit 85f0c36

Please sign in to comment.