Skip to content
Commits on Source (1)
  • Felipe Sateler's avatar
    Fix container check in udev init script · c05e4e13
    Felipe Sateler authored
    Udev needs writable /sys, so the init script tried to check before starting.
    Unfortunately, the check was inverted. Let's add the missing ! to negate the check.
    
    Closes: #915261
    c05e4e13
......@@ -124,7 +124,7 @@ if [ ! -d /sys/class/ ]; then
log_end_msg 1
fi
if [ -w /sys ]; then
if [ ! -w /sys ]; then
log_warning_msg "udev does not support containers, not started"
exit 0
fi
......