commit:     9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon May 24 22:51:21 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon May 24 22:51:33 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=9ce321d3

fix --debug option

Thanks to nissarin <AT> gmail.com for the patch

Closes: https://bugs.gentoo.org/751973
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 init.d/udev | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/init.d/udev b/init.d/udev
index c7b8ade..705d87c 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -66,7 +66,8 @@ start_pre() {
        fi
 
        if yesno "${udev_debug:-NO}"; then
-               command_args="${command_args} --debug 2> /run/udevdebug.log"
+               command_args="${command_args} --debug"
+               error_log="/run/udevdebug.log"
        fi
 
        return 0

Reply via email to