aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-25 10:26:50 +0200
committerGitHub <[email protected]>2017-08-25 10:26:50 +0200
commit55acf245c53b1a4b36ea4514bdc93b3acba699a1 (patch)
treee4e326d4bacf59647ceaa0f99c3a418a5899be93 /lib
parentd728fc61bc2d82ea4d7246b16a9b04694971b87b (diff)
parentd8ffcdd05ec718225d6888ab4919443a87cd7c6c (diff)
downloadotp-55acf245c53b1a4b36ea4514bdc93b3acba699a1.tar.gz
otp-55acf245c53b1a4b36ea4514bdc93b3acba699a1.tar.bz2
otp-55acf245c53b1a4b36ea4514bdc93b3acba699a1.zip
Merge pull request #1538 from bjorng/bjorn/os_mon/high-sierra/ERL-461
Fix disksup:get_disksup_data() for High Sierra OTP-14560
Diffstat (limited to 'lib')
-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 492e4814da..044604b000 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