* Removed killall-statement from postinst. Thanks to James Troup for

reporting it.
  * Added chdir("/") to both daemons (fixes: Bug#17601)
This commit is contained in:
Joey Schulze 1998-01-29 20:40:48 +00:00
parent be8b841a11
commit e7509db5e3
2 changed files with 2 additions and 0 deletions

View File

@ -864,6 +864,7 @@ int main(argc, argv)
auto char *log_level = (char *) 0, auto char *log_level = (char *) 0,
*output = (char *) 0; *output = (char *) 0;
chdir ("/");
/* Parse the command-line. */ /* Parse the command-line. */
while ((ch = getopt(argc, argv, "c:df:iIk:nopsvx")) != EOF) while ((ch = getopt(argc, argv, "c:df:iIk:nopsvx")) != EOF)
switch((char)ch) switch((char)ch)

View File

@ -681,6 +681,7 @@ int main(argc, argv)
extern int optind; extern int optind;
extern char *optarg; extern char *optarg;
chdir ("/");
while ((ch = getopt(argc, argv, "dhf:l:m:np:rs:v")) != EOF) while ((ch = getopt(argc, argv, "dhf:l:m:np:rs:v")) != EOF)
switch((char)ch) { switch((char)ch) {
case 'd': /* debug */ case 'd': /* debug */