Merge pull request 'kiss: return to original dir before rerunning' (#84) from phoebos/kiss:dir into master

Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/84
This commit is contained in:
Pratham 2022-10-04 14:56:41 +02:00
commit 2b84ea4563

1
kiss
View File

@ -1952,6 +1952,7 @@ args() {
if ok "$1" && ! am_owner "$KISS_ROOT/"; then if ok "$1" && ! am_owner "$KISS_ROOT/"; then
trap_off trap_off
cd "$ppwd"
as_user env \ as_user env \
LOGNAME="$user" \ LOGNAME="$user" \
HOME="$HOME" \ HOME="$HOME" \