mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-21 19:40:11 +00:00
Fix stopped status not showing without restarting the ui.
This commit is contained in:
parent
1e23c4e306
commit
8e3bed1acd
@ -138,8 +138,7 @@ const char *build_wh_from_config(){
|
||||
}
|
||||
|
||||
int startShell(const char *cmd) {
|
||||
parse_output(cmd);
|
||||
return 0;
|
||||
return parse_output(cmd);
|
||||
}
|
||||
|
||||
|
||||
@ -194,6 +193,9 @@ static int init_get_running(){
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Clear buffer - Otherwise old one is used
|
||||
h_running_info[0] = '\0';
|
||||
|
||||
while (fgets(h_running_info, BUFSIZE, fp) != NULL) {
|
||||
// Do whatever you want here...
|
||||
//printf("%s", h_running_info);
|
||||
|
Loading…
Reference in New Issue
Block a user