diff options
author | Thomas Haller <thaller@redhat.com> | 2019-04-16 15:24:58 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-04-16 15:30:14 +0200 |
commit | 48f1cdc735f684b4f73f244de91d3e40c01c0114 (patch) | |
tree | 626448a99cf6e6ebf252dac171648fc83a72ae54 /src/nm-dcb.c | |
parent | a5bfbf7fe8ffa63ad4971de410e3606423d6936e (diff) | |
download | NetworkManager-48f1cdc735f684b4f73f244de91d3e40c01c0114.tar.gz |
dcb: fix invalid assertion in dcb's do_helper()
https://bugzilla.redhat.com/show_bug.cgi?id=1700408
Fixes: a55c10754a69 ('dcb: cleanup do_helper() in "nm-dcb.c"')
(cherry picked from commit 76584e8f1d401c506e415404010e9d47d0001a7a)
Diffstat (limited to 'src/nm-dcb.c')
-rw-r--r-- | src/nm-dcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-dcb.c b/src/nm-dcb.c index b2e59154f0..fdcdd8dc07 100644 --- a/src/nm-dcb.c +++ b/src/nm-dcb.c @@ -70,7 +70,7 @@ do_helper (const char *iface, argv[i++] = NULL; if (!run_func ((char **) argv, which, user_data, error)) { - g_assert (!error || !*error); + g_assert (!error || *error); return FALSE; } |