projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a313e4c
)
Run --config-test with the canonicalized paths.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Tue, 16 Apr 2013 18:06:51 +0000
(20:06 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Tue, 16 Apr 2013 18:06:51 +0000
(20:06 +0200)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index
2c5ef67
..
064537c
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-427,7
+427,7
@@
start:
}
// OK, so the signal was SIGHUP. Check that the new config is okay, then exec the new binary.
- if (!dry_run_config(argv
[0], config_filename
)) {
+ if (!dry_run_config(argv
0_canon, config_filename_canon
)) {
open_logs(config.log_destinations);
log(ERROR, "%s --test-config failed. Restarting old version instead of new.", argv[0]);
hupped = false;