mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
Sytaxfehler un den ueblichen Sch***
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@816 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -123,7 +123,7 @@ int main(void)
|
||||
exit(ERR_CONFIG);
|
||||
}
|
||||
close(config_fd);
|
||||
if (rename("/etc/syslog.conf.new /etc/syslog.conf") == -1)
|
||||
if (rename("/etc/syslog.conf.new", "/etc/syslog.conf") == -1)
|
||||
{
|
||||
perror("Unable to replace old config file");
|
||||
unlink("/etc/syslog.conf.new");
|
||||
|
||||
Reference in New Issue
Block a user