[tip:tools/kvm] kvm tools: Remove bogus init printout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  b732f1c4c7546aa9c0f6ecfdd7205bbd1dfffdca
Gitweb:     http://git.kernel.org/tip/b732f1c4c7546aa9c0f6ecfdd7205bbd1dfffdca
Author:     Pekka Enberg <penberg@xxxxxxxxxx>
AuthorDate: Sun, 15 Jan 2012 15:02:40 +0200
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Sun, 15 Jan 2012 15:03:05 +0200

kvm tools: Remove bogus init printout

This patch removes the following printout from init:

  Starting '/bin/sh'...

which is completely bogus for "vm sandbox", for example.

Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 tools/kvm/guest/init_stage2.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/tools/kvm/guest/init_stage2.c b/tools/kvm/guest/init_stage2.c
index 96bcfcd..5f93894 100644
--- a/tools/kvm/guest/init_stage2.c
+++ b/tools/kvm/guest/init_stage2.c
@@ -36,8 +36,6 @@ int main(int argc, char *argv[])
 	/* set controlling terminal */
 	ioctl(0, TIOCSCTTY, 1);
 
-	puts("Starting '/bin/sh'...");
-
 	child = fork();
 	if (child < 0) {
 		printf("Fatal: fork() failed with %d\n", child);
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux