Skip to content

Commit 34fd80f

Browse files
authored
Merge pull request #474 from joanbm/ui-pclose-on-ap-enabled
Wait for create_ap to exit after AP-ENABLED in UI
2 parents ea15513 + b41885b commit 34fd80f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/ui.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ static void *run_create_hp_shell(void *cmd) {
773773

774774
if (strstr(buf, AP_ENABLED) != NULL) {
775775
init_running_info(NULL);
776+
pclose(fp);
776777
return 0;
777778
}
778779
}

0 commit comments

Comments
 (0)