diff options
author | Tomasz Torcz <tomek@pipebreaker.pl> | 2014-03-12 19:25:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-12 23:36:21 +0100 |
commit | 9c4495ca561624c2f0085507dd1288ed5f1247c5 (patch) | |
tree | 9c304464644015afbd7dbc884facee489fda1ae2 /src | |
parent | 9d16d0c7d0b05e3ff278c3c95e1f2f871f348dd3 (diff) |
gpt-auto-generator: don't return OOM on parentless devices
Diffstat (limited to 'src')
-rw-r--r-- | src/gpt-auto-generator/gpt-auto-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index e487f64386..19c5eea9de 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -395,7 +395,7 @@ static int enumerate_partitions(dev_t devnum) { parent = udev_device_get_parent(d); if (!parent) - return log_oom(); + return 0; /* Does it have a devtype? */ devtype = udev_device_get_devtype(parent); |