diff options
-rw-r--r-- | slx-tools | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ fs_path_gettype() { _mp="$( df -P "$1" | awk '$6 ~ "^/" {print $6}' )" [ -n "$_mp" ] || return 1 [ -d "$_mp" ] || return 1 - awk '$3 == "'"$_mp"'" {print $3}' '/proc/mounts' + awk '$2 == "'"$_mp"'" {print $3}' '/proc/mounts' } # Helper to check whether given directory resides in RAM, either |