From b5214af525eea31e2b227e18c39f98c463296a88 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sun, 9 Apr 2023 09:11:56 +0200 Subject: [PATCH] Source chroot-out, after running chroot --- path/wdvn-mod | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/path/wdvn-mod b/path/wdvn-mod index e39bc34..6e6cf26 100755 --- a/path/wdvn-mod +++ b/path/wdvn-mod @@ -11,4 +11,10 @@ fi if [ -f "$2/chroot" ]; then wdvn-chroot "$2" "/chroot" rm "$2/chroot" -fi \ No newline at end of file +fi + +if [ -f "$2/chroot-out" ]; then + source "$2/chroot-out" + rm "$2/chroot-out" +fi +