summaryrefslogtreecommitdiff
path: root/tests/df
diff options
context:
space:
mode:
Diffstat (limited to 'tests/df')
-rwxr-xr-xtests/df/skip-duplicates.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh
index 6b984ad21..1de01322f 100755
--- a/tests/df/skip-duplicates.sh
+++ b/tests/df/skip-duplicates.sh
@@ -90,6 +90,8 @@ struct mntent *getmntent (FILE *fp)
{
if (!mntents[done-2].mnt_type)
mntents[done-2].mnt_type = "-";
+ if (!mntents[done-2].mnt_opts)
+ mntents[done-2].mnt_opts = "-";
if (STREQ (mntents[done-2].mnt_dir, "/NONROOT"))
mntents[done-2].mnt_dir = nonroot_fs;
if (STREQ (mntents[done-2].mnt_dir, "/REMOTE"))