diff mbox

[2/2] UBUNTU: always print on stderr

Message ID 1337164314-7330-3-git-send-email-paolo.pisati@canonical.com
State New
Headers show

Commit Message

Paolo Pisati May 16, 2012, 10:31 a.m. UTC
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 debian/control-scripts/preinst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/debian/control-scripts/preinst b/debian/control-scripts/preinst
index 84bcf93..c7217c8 100644
--- a/debian/control-scripts/preinst
+++ b/debian/control-scripts/preinst
@@ -95,7 +95,7 @@  chomp($arch);
 if ($arch ne "armv7l") {
 	system ("grep -q ' pae ' /proc/cpuinfo");
 	if ($?) {
-			print "This kernel does not support a non-PAE CPU.\n";
+			print STDERR "This kernel does not support a non-PAE CPU.\n";
 			exit 1;
 	}
 }