mirror of https://github.com/nirenjan/libx52.git
Remove duplicate check for default PID file
parent
52429e8dc3
commit
293ba0a99d
|
@ -282,11 +282,6 @@ int main(int argc, char **argv)
|
||||||
PINELOG_DEBUG(_("Log file = %s"), log_file);
|
PINELOG_DEBUG(_("Log file = %s"), log_file);
|
||||||
PINELOG_DEBUG(_("Config file = %s"), conf_file);
|
PINELOG_DEBUG(_("Config file = %s"), conf_file);
|
||||||
|
|
||||||
/* Set default PID file */
|
|
||||||
if (pid_file == NULL) {
|
|
||||||
pid_file = X52D_PID_FILE;
|
|
||||||
}
|
|
||||||
|
|
||||||
start_daemon(foreground, pid_file);
|
start_daemon(foreground, pid_file);
|
||||||
|
|
||||||
set_log_file(foreground, log_file);
|
set_log_file(foreground, log_file);
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libx52 0.2.3\n"
|
"Project-Id-Version: libx52 0.2.3\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
|
||||||
"POT-Creation-Date: 2021-11-02 23:01-0700\n"
|
"POT-Creation-Date: 2021-11-03 11:43-0700\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -552,20 +552,20 @@ msgstr ""
|
||||||
msgid "Config file = %s"
|
msgid "Config file = %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: daemon/x52d_main.c:314
|
#: daemon/x52d_main.c:309
|
||||||
msgid "Reloading X52 configuration"
|
msgid "Reloading X52 configuration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: daemon/x52d_main.c:321
|
#: daemon/x52d_main.c:316
|
||||||
msgid "Saving X52 configuration to disk"
|
msgid "Saving X52 configuration to disk"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: daemon/x52d_main.c:327
|
#: daemon/x52d_main.c:322
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Received termination signal %s"
|
msgid "Received termination signal %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: daemon/x52d_main.c:341
|
#: daemon/x52d_main.c:336
|
||||||
msgid "Shutting down X52 daemon"
|
msgid "Shutting down X52 daemon"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
10
po/xx_PL.po
10
po/xx_PL.po
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libx52 0.2.3\n"
|
"Project-Id-Version: libx52 0.2.3\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
|
||||||
"POT-Creation-Date: 2021-11-02 23:01-0700\n"
|
"POT-Creation-Date: 2021-11-03 11:43-0700\n"
|
||||||
"PO-Revision-Date: 2021-11-02 23:09-0700\n"
|
"PO-Revision-Date: 2021-11-02 23:09-0700\n"
|
||||||
"Last-Translator: Nirenjan Krishnan <nirenjan@gmail.com>\n"
|
"Last-Translator: Nirenjan Krishnan <nirenjan@gmail.com>\n"
|
||||||
"Language-Team: Dummy Language for testing i18n\n"
|
"Language-Team: Dummy Language for testing i18n\n"
|
||||||
|
@ -598,20 +598,20 @@ msgstr "Oglay ilefay = %s"
|
||||||
msgid "Config file = %s"
|
msgid "Config file = %s"
|
||||||
msgstr "Onfigcay ilefay = %s"
|
msgstr "Onfigcay ilefay = %s"
|
||||||
|
|
||||||
#: daemon/x52d_main.c:314
|
#: daemon/x52d_main.c:309
|
||||||
msgid "Reloading X52 configuration"
|
msgid "Reloading X52 configuration"
|
||||||
msgstr "Eloadingray X52 onfigurationcay"
|
msgstr "Eloadingray X52 onfigurationcay"
|
||||||
|
|
||||||
#: daemon/x52d_main.c:321
|
#: daemon/x52d_main.c:316
|
||||||
msgid "Saving X52 configuration to disk"
|
msgid "Saving X52 configuration to disk"
|
||||||
msgstr "Avingsay X52 onfigurationcay otay iskday"
|
msgstr "Avingsay X52 onfigurationcay otay iskday"
|
||||||
|
|
||||||
#: daemon/x52d_main.c:327
|
#: daemon/x52d_main.c:322
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Received termination signal %s"
|
msgid "Received termination signal %s"
|
||||||
msgstr "Eceivedray erminationtay ignalsay %s"
|
msgstr "Eceivedray erminationtay ignalsay %s"
|
||||||
|
|
||||||
#: daemon/x52d_main.c:341
|
#: daemon/x52d_main.c:336
|
||||||
msgid "Shutting down X52 daemon"
|
msgid "Shutting down X52 daemon"
|
||||||
msgstr "Uttingshay ownday X52 aemonday"
|
msgstr "Uttingshay ownday X52 aemonday"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue