Don't run exit_cleanup on config

Possible fix for https://github.com/Frogging-Family/linux-tkg/issues/123
This commit is contained in:
Tk-Glitch 2020-11-19 17:21:20 +01:00
parent d2ffd9af7a
commit c27e79bd9e

View File

@ -1284,6 +1284,6 @@ exit_cleanup() {
msg2 "compilation time : \n$_runtime"
fi
}
if [ "$_distro" != "Void" ]; then
if [ "$_distro" != "Void" ] && [ "$1" != "config" ]; then
trap exit_cleanup EXIT
fi