mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
Always use first parameter passed to get_filesystem(..) instead of discarding it
and using `.` instead. MFC after: 1 week MFC with: r321949 PR: 221189 [1], 221188 [2]
This commit is contained in:
parent
2d3e9c25f1
commit
3e46b70f38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321950
|
@ -27,7 +27,9 @@
|
|||
|
||||
get_filesystem()
|
||||
{
|
||||
df -T . | tail -n 1 | cut -wf 2
|
||||
local mountpoint=$1
|
||||
|
||||
df -T $mountpoint | tail -n 1 | cut -wf 2
|
||||
}
|
||||
|
||||
atf_test_case RH_flag
|
||||
|
|
Loading…
Reference in a new issue