Fixes an MPFire

Syntaxfix am ipsec


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@757 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-08-11 12:40:01 +00:00
parent 8a0d3bd140
commit 05882fff6b
3 changed files with 18 additions and 4 deletions

View File

@@ -269,7 +269,7 @@ int main(int argc, char *argv[]) {
if ( (argc == 2) && (file = fopen("/var/run/vpn-watch.pid", "r"))) {
safe_system("kill -9 $(cat /var/run/vpn-watch.pid)");
safe_system("unlink /var/run/vpn-watch.pid)");
safe_system("unlink /var/run/vpn-watch.pid");
close(file);
}