mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 23:21:08 +03:00
udevstart: fix NAME="" which prevents RUN from being executed
Thanks to Olivier Blin <oblin@mandriva.com> for finding this. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
1a72d06f7b
commit
4cfdeaf3bf
@ -108,7 +108,7 @@ static int add_device(const char *devpath)
|
||||
{
|
||||
struct sysfs_device *dev;
|
||||
struct udevice *udev;
|
||||
int retval;
|
||||
int retval = 0;
|
||||
|
||||
/* clear and set environment for next event */
|
||||
clearenv();
|
||||
|
Loading…
Reference in New Issue
Block a user