Fix debug mode logic inversion 31/131331/2
authorMichal Bloch <m.bloch@samsung.com>
Fri, 26 May 2017 10:21:11 +0000 (12:21 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 26 May 2017 10:41:40 +0000 (12:41 +0200)
commit2f1a4e7496e60cb300a39441880a77550aeca09c
tree5ebc1ff6dc2f839ef4591cbb188b5fb8061bf011
parent5672ae16cc9fb8ed822338921d047bb72c99f03e
Fix debug mode logic inversion

If the debugmode file exists, access() returns 0 -> disabled debugmode.
Should be the other way around (disable debugmode if debugmode file does *not* exist).

Got accidentally broken in c1a7326e3ebf0f93e78c5d317ea7debe2fea207d

Change-Id: If9daeba158735759e2a8518ee25bfc722c147060
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/libdlog/log.c