From 35e8c42139da2a5b1017735c3284081facad126a Mon Sep 17 00:00:00 2001 From: eivind Date: Sun, 26 Dec 1999 16:34:53 +0000 Subject: Fix tab completion mounts (like /cdrom/) Submitted by: Martin Blapp --- sbin/mount_ifs/mount.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/mount_ifs') diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c index 8510db5..14b56c9 100644 --- a/sbin/mount_ifs/mount.c +++ b/sbin/mount_ifs/mount.c @@ -265,6 +265,7 @@ main(argc, argv) mntbuf->f_mntonname, init_flags, options, 0); break; } + rmslashes(*argv, *argv); if ((fs = getfsfile(*argv)) == NULL && (fs = getfsspec(*argv)) == NULL) errx(1, "%s: unknown special file or file system", -- cgit v1.1