blob: 4b8cf4467bebb714a87b9fc421e1c94262f4b1d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From: Igor Sukhih <igor@openvz.org>
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;
|