opnsense-ports/sysutils/cfengine38/files/patch-cf-agent_verify__storage.c
Franco Fichtner 626aa2a6b3 */*: sync with upstream
Taken from: FreeBSD
2016-05-05 08:20:58 +02:00

11 lines
544 B
C

--- cf-agent/verify_storage.c.orig 2016-05-03 13:42:49 UTC
+++ cf-agent/verify_storage.c
@@ -132,7 +132,7 @@ PromiseResult VerifyStoragePromise(EvalC
PromiseResult result = PROMISE_RESULT_NOOP;
#ifndef __MINGW32__
- if ((SeqLength(GetGlobalMountedFSList())) && (!LoadMountInfo(GetGlobalMountedFSList())))
+ if ((!SeqLength(GetGlobalMountedFSList())) && (!LoadMountInfo(GetGlobalMountedFSList())))
{
Log(LOG_LEVEL_ERR, "Couldn't obtain a list of mounted filesystems - aborting");
YieldCurrentLock(thislock);