diff options
author | Rich Megginson <rmeggins@redhat.com> | 2007-01-30 00:08:01 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2007-01-30 00:08:01 +0000 |
commit | e724dc43c8017e49dfa8882ada70fedf50c9a970 (patch) | |
tree | ba334eed340ad624b8715c5211dc7a96fc199dd2 | |
parent | e0df02c139635a94b53078a0afe6324163ce4fed (diff) | |
download | ds-e724dc43c8017e49dfa8882ada70fedf50c9a970.tar.gz ds-e724dc43c8017e49dfa8882ada70fedf50c9a970.tar.xz ds-e724dc43c8017e49dfa8882ada70fedf50c9a970.zip |
Resolves: bug 224606
Description: Instance specific dirs should be in instance directory
Fix Description: Needed to reverse rundir and ds_get_server_name() when constructing the pidfile name.
Reviewed by: nhosoi (Thanks!)
-rw-r--r-- | ldap/admin/lib/dsalib_updown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/admin/lib/dsalib_updown.c b/ldap/admin/lib/dsalib_updown.c index f2f89ef0..6714f205 100644 --- a/ldap/admin/lib/dsalib_updown.c +++ b/ldap/admin/lib/dsalib_updown.c @@ -95,7 +95,7 @@ ds_get_updown_status() fprintf(stderr, "ds_get_updown_status: could not get install root\n"); return(DS_SERVER_UNKNOWN); } - PR_snprintf(pid_file_name, BIG_LINE, "%s/%s.pid", ds_get_server_name(), rundir); + PR_snprintf(pid_file_name, BIG_LINE, "%s/%s.pid", rundir, ds_get_server_name()); pidfile = fopen(pid_file_name, "r"); if ( pidfile == NULL ) { /* |