diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2018-11-12 08:57:20 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-11-12 08:57:20 +0100 |
commit | 693b0f31439318d68c5a42e79f7e8a751b4cffb3 (patch) | |
tree | eb03404cd6fecc22a6579688e2c81aa232e171ab /src/shared | |
parent | 59e70b352f9b61ecd881f15485c607a670f9b32a (diff) |
Prep v239.2: With the new program_invocation[_short]_name guards, the previous thorough checks became unneccessary
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/musl_missing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/musl_missing.c b/src/shared/musl_missing.c index f332627fc..a34e4eaec 100644 --- a/src/shared/musl_missing.c +++ b/src/shared/musl_missing.c @@ -34,9 +34,9 @@ const char *program_arg_name = NULL; /* Helper */ #if HAVE_PROGRAM_INVOCATION_NAME == 0 static void elogind_free_program_name(void) { - if (program_invocation_name && (program_invocation_name != program_arg_name) && strlen(program_invocation_name)) + if (program_invocation_name) program_invocation_name = mfree(program_invocation_name); - if (program_invocation_short_name && (program_invocation_short_name != program_arg_name) && strlen(program_invocation_short_name)) + if (program_invocation_short_name) program_invocation_short_name = mfree(program_invocation_short_name); } |