[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[6933] ipcop/trunk/make.sh
From:       gespinasse () users ! sourceforge ! net
Date:       2013-02-18 7:23:16
Message-ID: E1U7L4G-00044c-Ns () sfp-svn-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 6933
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6933&view=rev
Author:   gespinasse
Date:     2013-02-18 07:23:16 +0000 (Mon, 18 Feb 2013)
Log Message:
-----------
Hide the error when getenforce is not available

Modified Paths:
--------------
    ipcop/trunk/make.sh

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh	2013-02-17 17:32:42 UTC (rev 6932)
+++ ipcop/trunk/make.sh	2013-02-18 07:23:16 UTC (rev 6933)
@@ -412,7 +412,7 @@
 UMOUNT=`bash +h -c "type umount" | cut -d" " -f3`
 
 # Just to warn on SElinux enabled host
-GETENFORCE=`bash +h -c "type getenforce" | cut -d" " -f3`
+GETENFORCE=`bash +h -c "type getenforce" 2>/dev/null | cut -d" " -f3`
 
 # Who's running this script?
 CURRENT_USER=`id -un`

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic