Skip to content

Commit

Permalink
clients/upsmon.c: main(): fix "cmd" definition formatting
Browse files Browse the repository at this point in the history
Minimize differences vs. Windows branch
  • Loading branch information
jimklimov committed Aug 3, 2022
1 parent 7589726 commit 2f22401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/upsmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2091,8 +2091,9 @@ static void check_parent(void)
int main(int argc, char *argv[])
{
const char *prog = xbasename(argv[0]);
int i, cmd = 0, cmdret = -1, checking_flag = 0, foreground = -1;
int i, cmdret = -1, checking_flag = 0, foreground = -1;
pid_t oldpid = -1;
int cmd = 0;

printf("Network UPS Tools %s %s\n", prog, UPS_VERSION);

Expand Down

0 comments on commit 2f22401

Please sign in to comment.