Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and arkq committed Nov 28, 2024
1 parent 18110ec commit 0647b95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/platform/linux/AppMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,9 @@ void ChipLinuxAppMainLoop(AppMainLoopImplementation * impl)
signal(SIGTERM, StopSignalHandler);
// NOLINTEND(bugprone-signal-handler)
#else
struct sigaction sa = {};
sa.sa_handler = StopSignalHandler;
sa.sa_flags = SA_RESETHAND;
struct sigaction sa = {};
sa.sa_handler = StopSignalHandler;
sa.sa_flags = SA_RESETHAND;
sigaction(SIGINT, &sa, nullptr);
sigaction(SIGTERM, &sa, nullptr);
#endif
Expand Down

0 comments on commit 0647b95

Please sign in to comment.