mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 21:20:12 +00:00
Merge pull request #61 from lakinduakash/fix-stop
Fix stopped status not showing without restarting the ui.
This commit is contained in:
commit
8612a0fc00
@ -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