Fix tab completion mounts (like /cdrom/)
Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
parent
3099056433
commit
35e8c42139
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user