From 1fd071f24e80062526bd89f8b2941527e8933bb2 Mon Sep 17 00:00:00 2001 From: illiliti Date: Tue, 18 May 2021 20:27:26 +0300 Subject: [PATCH] contrib/helper.sh: exec env command to inherit exit status --- contrib/helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/helper.sh b/contrib/helper.sh index ef9877a..51bf19f 100644 --- a/contrib/helper.sh +++ b/contrib/helper.sh @@ -10,4 +10,4 @@ # NOTE: writing variables to file (e.g PWD or PATH) # that are not related to uevent properties is harmless -env > "${1:-/tmp/.libudev-zero}/uevent.$$" +exec env > "${1:-/tmp/.libudev-zero}/uevent.$$"