contrib/helper.sh: exec env command to inherit exit status

This commit is contained in:
illiliti
2021-05-18 20:27:26 +03:00
parent f1107b0e17
commit 1fd071f24e

View File

@@ -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.$$"