You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2019/07/22 09:57:51 UTC
[commons-daemon] branch master updated: Fix
https://issues.apache.org/jira/browse/DAEMON-403 Correct log message
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new f275773 Fix https://issues.apache.org/jira/browse/DAEMON-403 Correct log message
f275773 is described below
commit f275773cfd2865185df7625c69fea777fa77edd2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jul 22 10:57:22 2019 +0100
Fix https://issues.apache.org/jira/browse/DAEMON-403 Correct log message
Patch proposed by Charles.
---
src/changes/changes.xml | 5 ++++-
src/native/unix/native/jsvc-unix.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d2c6d4d..251ed35 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -39,6 +39,9 @@
</properties>
<body>
<release version="1.2.1" date="TBD" description="Bug fix release">
+ <action issue="DAEMON-403" type="fix" dev="markt" due-to="Charles">
+ jsvc. Correct debug log message that reports change in umask.
+ </action>
</release>
<release version="1.2.0" date="2019-06-28" description="Feature and bug fix release">
<action type="fix" dev="markt" due-to="mturk" >
@@ -49,7 +52,7 @@
Procrun. Only set the global shutdown event if the event is created.
</action>
<action issue="DAEMON-379" type="fix" dev="sebb">
- Unable to build with Java 9 using ant; dropped Ant build files
+ Unable to build with Java 9 using ant; dropped Ant build files.
</action>
<action issue="DAEMON-384" type="fix" dev="ggregory" due-to="blassmegod">
Procrun. prunsrv stopping with error due to hard-coded timeout.
diff --git a/src/native/unix/native/jsvc-unix.c b/src/native/unix/native/jsvc-unix.c
index 888905c..176ea47 100644
--- a/src/native/unix/native/jsvc-unix.c
+++ b/src/native/unix/native/jsvc-unix.c
@@ -1268,7 +1268,7 @@ int main(int argc, char *argv[])
}
envmask = umask(args->umask);
set_output(args->outfile, args->errfile, args->redirectstdin, args->procname);
- log_debug("Switching umask back to %03o from %03o", envmask, args->umask);
+ log_debug("Switching umask from %03o to %03o", envmask, args->umask);
res = run_controller(args, data, uid, gid);
if (logger_pid != 0) {
kill(logger_pid, SIGTERM);