summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2016-11-02 17:51:54 +0900
committerDongkyun, Son <dongkyun.s@samsung.com>2016-11-02 17:51:54 +0900
commit92b5eaca1aec2466a52512d4a7d8ee7ce27562da (patch)
treed3599bf25c02f54b1f7a0226d2a8be46f32c5886
parent66b8b92ac00109fbf1cb7e9f03b0ce3d8bcd545b (diff)
downloadnether-sandbox/dkson95/gcc6.tar.gz
nether-sandbox/dkson95/gcc6.tar.bz2
nether-sandbox/dkson95/gcc6.zip
temporary fix for [-Werror=parentheses]sandbox/dkson95/gcc6
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--src/nether_Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nether_Manager.cpp b/src/nether_Manager.cpp
index af1a793..efe1094 100644
--- a/src/nether_Manager.cpp
+++ b/src/nether_Manager.cpp
@@ -350,7 +350,7 @@ bool NetherManager::isCommandAvailable(const std::string &command)
if(stat(command.c_str(), &iptablesRestoreStat) == 0)
{
- if(! iptablesRestoreStat.st_mode & S_IXUSR)
+ if(! (iptablesRestoreStat.st_mode & S_IXUSR))
{
LOGE("Execute bit is not set for owner on:" << command);
return (false);