diff options
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index b862b5b17..95494c53f 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -467,7 +467,8 @@ mount_info::init () pathend = wcpcpy (pathend, L"\\etc\\fstab"); from_fstab (false, path, pathend); - from_fstab (true, path, pathend); + if (cygheap->user.name () && *cygheap->user.name ()) + from_fstab (true, path, pathend); if (!got_usr_bin || !got_usr_lib) { |