diff options
-rw-r--r-- | sys-utils/mountpoint.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys-utils/mountpoint.c b/sys-utils/mountpoint.c index cba5f0125..3919ab748 100644 --- a/sys-utils/mountpoint.c +++ b/sys-utils/mountpoint.c @@ -192,12 +192,6 @@ int main(int argc, char **argv) else { dev_t src; - if (!S_ISDIR(st.st_mode)) { - if (!quiet) - errx(EXIT_FAILURE, _("%s: not a directory"), spec); - return EXIT_FAILURE; - } - if ( dir_to_device(spec, &src)) { if (!quiet) printf(_("%s is not a mountpoint\n"), spec); |