mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
bus: fix missing variable initialization
This commit is contained in:
parent
b56c267ffb
commit
5a0f6033be
@ -539,8 +539,10 @@ static int parse_exec_address(sd_bus *b, const char **p, char **guid) {
|
||||
skip_address_key(p);
|
||||
}
|
||||
|
||||
if (!path)
|
||||
if (!path) {
|
||||
r = -EINVAL;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Make sure there are no holes in the array, with the
|
||||
* exception of argv[0] */
|
||||
|
Loading…
Reference in New Issue
Block a user