Go to file
aabacchus c6c851b645 kiss-chroot: fix trap
If the chroot is exited with nonzero status, kiss-chroot runs `die
chroot failed`. Then, die runs `exit 1` which causes the trap to
execute. However, in this scope, "$@" is "chroot failed", so the trap
evaluates $1 to be "chroot" rather than the mountpoint given to the
kiss-chroot script. Then, the trap tries to unmount "chroot/dev" etc
rather than the true mountpoint.

This patch uses double quotes rather than single when setting the trap,
so that $1 is expanded then and the mountpoint is stored for when the
trap is called.
2022-08-05 21:24:43 +05:30
.github github: issue template 2021-07-24 23:28:52 +03:00
contrib kiss-chroot: fix trap 2022-08-05 21:24:43 +05:30
kiss kiss: copy symlinks as is 2022-08-05 21:24:43 +05:30
LICENSE docs: update 2021-07-02 14:43:29 +00:00
README meta: new domain 2021-07-23 00:34:24 +03:00

|/
|\ISS LINUX                                                https://kisslinux.org
________________________________________________________________________________


Package Manager
________________________________________________________________________________

KISS' tiny package manager.

Documentation:

- https://kisslinux.org/package-manager
- https://kisslinux.org/package-system