From a9c59ef9fc1bb68c9d0d7beffbeb670baf5b1e3f Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sat, 4 Apr 2020 17:07:38 -0700 Subject: [PATCH] fix logic to not for ' type ' in cleandata[0] --- jc/parsers/mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/parsers/mount.py b/jc/parsers/mount.py index 18fe773a..dfb8a7d0 100644 --- a/jc/parsers/mount.py +++ b/jc/parsers/mount.py @@ -165,7 +165,7 @@ def parse(data, raw=False, quiet=False): if cleandata: # check for OSX output - if ' type ' in cleandata[0]: + if ' type ' not in cleandata[0]: raw_output = osx_parse(cleandata) else: