homectl: insert missing 'else'
Follow-up for cc14c14782.
Fixes CID#1593168 and CID#1593166.
This commit is contained in:
+1
-1
@@ -2548,7 +2548,7 @@ static int create_or_register_from_credentials(void) {
|
||||
const char *e;
|
||||
if ((e = startswith(de->d_name, "home.create.")))
|
||||
op = OPERATION_CREATE;
|
||||
if ((e = startswith(de->d_name, "home.register.")))
|
||||
else if ((e = startswith(de->d_name, "home.register.")))
|
||||
op = OPERATION_REGISTER;
|
||||
else
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user