Skip to content

Commit

Permalink
Check for 'umount proc' and not just 'umount'
Browse files Browse the repository at this point in the history
'umount proc' has been part of a comment right above the umount
line.
  • Loading branch information
mlschroe committed Jan 29, 2024
1 parent f9dd814 commit ff855fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ TIME_POSTCHECKS=$SECONDS
if test -n "$RPMS" -a -d "$BUILD_ROOT/usr/lib/build/checks" ; then
# workaround for broken 13.1 check scripts which umount /proc
if test -n "$RUNNING_IN_VM" -a "$BUILD_ROOT" = / ; then
if grep umount "$BUILD_ROOT/usr/lib/build/checks/99-check-remove-rpms" >/dev/null 2>&1 ; then
if grep 'umount proc' "$BUILD_ROOT/usr/lib/build/checks/99-check-remove-rpms" >/dev/null 2>&1 ; then
umount -n $BUILD_ROOT/proc/sys/fs/binfmt_misc 2>/dev/null
fi
fi
Expand Down

0 comments on commit ff855fc

Please sign in to comment.