diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 21a86171d..c27c4f2eb 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,8 @@ +1999-03-14 Miguel de Icaza + + * gmount.c (get_mountable_devices): Show error message if the + /etc/fstab is not readable by the user. + 1999-03-12 Miguel de Icaza * gview.c (scrollbar_moved): Better, but still shaggy when you diff --git a/gnome/gmount.c b/gnome/gmount.c index eb409be0f..19aa03f95 100644 --- a/gnome/gmount.c +++ b/gnome/gmount.c @@ -188,8 +188,10 @@ get_mountable_devices (void) GList *list = NULL; f = setmntent ("/etc/fstab", "r"); - if (f == NULL) + if (f == NULL){ + message (1, MSG_ERROR, _("Could not open the /etc/fstab file")); return NULL; + } while ((mnt = getmntent (f))){ if (option_has_user (mnt->mnt_opts)){