From b9ce1592c0689d3358c9f507c037c0af9a763436 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 1 Jul 2008 16:27:42 -0700 Subject: Missing -e causes sudoers problem Missing -e on echo causes unparsable sudoers --- debian/vyatta-cfg-system.postinst.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 25dbe94f..d6497529 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -59,7 +59,7 @@ EOF # Reduce logging level of good commands if ! grep -q "^Defaults syslog_goodpri" /etc/sudoers; then - echo "\nDefaults syslog_goodpri=info" >>/etc/sudoers + echo -e "\nDefaults syslog_goodpri=info" >>/etc/sudoers fi # keep env vars -- cgit v1.2.3