summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-11-06 15:14:38 +0545
committerPhil Davis <phil.davis@inf.org>2014-11-06 15:14:38 +0545
commita68c678580a210a05c80873bfbdf58a703372b80 (patch)
tree5342bd5abda358d93411de069f27e6ea8f68c61d /tmp/post_upgrade_command
parenta012464eb42eebdf879fdf8df1824f9a1ecd30b6 (diff)
downloadpfsense-a68c678580a210a05c80873bfbdf58a703372b80.zip
pfsense-a68c678580a210a05c80873bfbdf58a703372b80.tar.gz
Fix to SMART disk matching
preg_match returns 0 when the string does not match the regex. 0 does not "===" FALSE So this check is not always working. preg_match returns 1 when the string matches the regex. IMO it is better to check for !== 1 - then anything that is not success (0 or false or...) will be unset.
Diffstat (limited to 'tmp/post_upgrade_command')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud