diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 22c0c9b..fdd64bc 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -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