Skip to contentSkip to conversation

Fixfiles patch for creating logfile fixed.

PATCH Daniel J Walsh 2 participants 2 messages Jan 9, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
scripts/fixfiles +3 -0
@@ -29,6 +29,9 @@
 RPMILES=""
 OUTFILES=""
 LOGFILE=`tty`
+if [ $? != 0 ]; then
+    LOGFILE="/dev/null"
+fi
 SYSLOGFLAG="-l"
 LOGGER=/usr/sbin/logger
 SETFILES=/sbin/setfiles
#1 lore raw

On Tue, 2007-01-09 at 10:19 -0500, Daniel J Walsh wrote:

scripts/fixfiles +3 -0
@@ -29,6 +29,9 @@
 RPMILES=""
 OUTFILES=""
 LOGFILE=`tty`
+if [ $? != 0 ]; then
+    LOGFILE="/dev/null"
+fi
 SYSLOGFLAG="-l"
 LOGGER=/usr/sbin/logger
 SETFILES=/sbin/setfiles
Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.