summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-05-24 17:51:21 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-05-24 17:51:33 -0500
commit9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba (patch)
tree9d9b2168c349dd7b3ba8eaebc940360d3ab05c4b
parentuse -containers keyword to cover all containers (diff)
downloadudev-gentoo-scripts-9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba.tar.gz
udev-gentoo-scripts-9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba.tar.bz2
udev-gentoo-scripts-9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba.zip
fix --debug option
Thanks to nissarin@gmail.com for the patch Closes: https://bugs.gentoo.org/751973 Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--init.d/udev3
1 files changed, 2 insertions, 1 deletions
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