aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src/disksup.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-25 10:34:43 +0200
committerBjörn Gustavsson <[email protected]>2017-08-25 10:34:43 +0200
commit47a4ab2678aacea0eab8fc9fe6d8d15ee92e76a2 (patch)
tree28ee321b8b68e957053d7ec6901941537935b59b /lib/os_mon/src/disksup.erl
parent85e111c0bcd83f5ebf806e10ee5542c9e9f7ef90 (diff)
parent55acf245c53b1a4b36ea4514bdc93b3acba699a1 (diff)
downloadotp-47a4ab2678aacea0eab8fc9fe6d8d15ee92e76a2.tar.gz
otp-47a4ab2678aacea0eab8fc9fe6d8d15ee92e76a2.tar.bz2
otp-47a4ab2678aacea0eab8fc9fe6d8d15ee92e76a2.zip
Merge branch 'maint'
* maint: Fix disksup:get_disksup_data() for High Sierra
Diffstat (limited to 'lib/os_mon/src/disksup.erl')
-rw-r--r--lib/os_mon/src/disksup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/disksup.erl b/lib/os_mon/src/disksup.erl
index 36730aac74..aeec335ba7 100644
--- a/lib/os_mon/src/disksup.erl
+++ b/lib/os_mon/src/disksup.erl
@@ -285,7 +285,7 @@ check_disk_space({unix, sunos4}, Port, Threshold) ->
Result = my_cmd("df", Port),
check_disks_solaris(skip_to_eol(Result), Threshold);
check_disk_space({unix, darwin}, Port, Threshold) ->
- Result = my_cmd("/bin/df -i -k -t ufs,hfs", Port),
+ Result = my_cmd("/bin/df -i -k -t ufs,hfs,apfs", Port),
check_disks_susv3(skip_to_eol(Result), Threshold).
% This code works for Linux and FreeBSD as well