util: command: do not return after abort

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Ján Tomko 2020-08-02 23:02:14 +02:00
parent 1edf164848
commit a97594795a

View File

@ -1509,7 +1509,6 @@ virCommandAddArg(virCommandPtr cmd, const char *val)
if (val == NULL) {
cmd->has_error = EINVAL;
abort();
return;
}
arg = g_strdup(val);