Add parentheses to remove build warning. 44/106844/1 accepted/tizen/3.0/common/20170118.130741 accepted/tizen/3.0/ivi/20170118.042548 accepted/tizen/3.0/mobile/20170118.042501 accepted/tizen/3.0/tv/20170118.042522 accepted/tizen/3.0/wearable/20170118.042533 accepted/tizen/common/20170120.125242 accepted/tizen/ivi/20170116.085929 accepted/tizen/mobile/20170116.085838 accepted/tizen/tv/20170116.085851 accepted/tizen/wearable/20170116.085914 submit/tizen/20170116.034909 submit/tizen_3.0/20170115.225845 submit/tizen_common/20170120.070309
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Fri, 23 Dec 2016 07:56:52 +0000 (16:56 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Fri, 23 Dec 2016 07:56:56 +0000 (16:56 +0900)
Change-Id: I1c9b30c3d46864a7464f840f56fc4e13ac62f574

src/nether_Manager.cpp

index af1a793a649cb8750db508f5a0ebd84fce949eb3..efe109466fb37797cbb5c4c45899113ac97e8dd7 100644 (file)
@@ -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);