Patchwork [2/2] UBUNTU: always print on stderr

login
register
mail settings
Submitter Paolo Pisati
Date May 16, 2012, 10:31 a.m.
Message ID <1337164314-7330-3-git-send-email-paolo.pisati@canonical.com>
Download mbox | patch
Permalink /patch/159573/
State New
Headers show

Comments

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

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;
 	}
 }