From: Igor Sukhih Date: Fri, 25 Aug 2006 07:55:33 +0000 (+0400) Subject: vzctl enter: fixed print exit message. X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff;h=7b115e65ffce24039253b3cf14cf3021c18048cd vzctl enter: fixed print exit message. Extra \n was printed. --- Index: vzctl-3.0.11/src/enter.c =================================================================== --- vzctl-3.0.11.orig/src/enter.c +++ vzctl-3.0.11/src/enter.c @@ -303,10 +303,10 @@ err: if (errno != EINTR) break; if (WIFSIGNALED(status)) - logger(0, 0, "got signal %d", WTERMSIG(status)); + fprintf(stdout, "got signal %d\n", WTERMSIG(status)); if (!ret) { raw_off(); - logger(0, 0, "exited from VPS %d\n", veid); + fprintf(stdout, "exited from VPS %d\n", veid); } close(in[1]); close(out[0]); return 0;