openvpnctrl: Silence PID file error message.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 19:52:35 +0000 (21:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 19:52:35 +0000 (21:52 +0200)
src/misc-progs/openvpnctrl.c

index 207d6a3143f05d04db8ff6dd0a4b377d92f553d2..4c1d1c3bbb30a9bee58e49f024949acd240ab870 100644 (file)
@@ -163,7 +163,6 @@ connection *getConnections() {
 int readPidFile(const char *pidfile) {
        FILE *fp = fopen(pidfile, "r");
        if (fp == NULL) {
-               fprintf(stderr, "PID file not found: '%s'\n", pidfile);
                exit(1);
        }