Opened 14 months ago
Closed 14 months ago
#1738 closed defect (fixed)
"make chroot" should umount kernfs even if the shell exits with non-zero code
Reported by: | xry111 | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | jhalfs | Version: | GIT |
Severity: | normal | Keywords: | |
Cc: |
Description
"make chroot" will start an interactive shell, and it's too easy to make it exit with non-zero code (for example, pressing Ctrl+C before typing "exit").
So I think we should make the exit code of the shell ignored:
chroot: devices -sudo $(CHROOT1) $(MAKE) teardown
Add a "-" before "sudo" here.
Note:
See TracTickets
for help on using tickets.
Sure! Fixed at c552eab