Skip to content

Commit

Permalink
gtk: mobile: don't cleanup log when failing
Browse files Browse the repository at this point in the history
Change-Id: Ibd8d3d65f5fffc0abbc410e3f265c3eea0af6c40
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
  • Loading branch information
Ashod authored and hcvcastro committed Aug 2, 2022
1 parent c2ba9c8 commit 85eaefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk/mobile.cpp
Expand Up @@ -276,7 +276,7 @@ int main(int argc, char* argv[])
if (argc != 2)
{
fprintf(stderr, "Usage: %s document\n", argv[0]);
Util::forcedExit(EX_SOFTWARE); // avoid log cleanup
_exit(1); // avoid log cleanup
}

Log::initialize("Mobile", "trace", false, false, {});
Expand Down

0 comments on commit 85eaefd

Please sign in to comment.