Skip to content

Commit

Permalink
exec offlinehook while unexpected offline
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwckf committed Sep 17, 2019
1 parent 19b4e70 commit cc51b6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ int main(int argc, char *argv[]) {
break;
}
} else {
if (OfflineHookCmd) {
system(OfflineHookCmd);
}
break;
}
}
Expand Down

0 comments on commit cc51b6b

Please # to comment.