diff options
-rw-r--r-- | sbin/mount/mount.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index b3ffc3a..ab71799 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -288,7 +288,11 @@ main(argc, argv) */ if (vfslist == NULL && ((ep = strchr(argv[0], '@')) != NULL) || ((ep = strchr(argv[0], ':')) != NULL)) { - cp = argv[0]; + if (*ep == '@') { + cp = ep + 1; + ep = cp + strlen(cp); + } else + cp = argv[0]; while (cp != ep) { if (!isdigit(*cp) && !isalpha(*cp) && *cp != '.' && *cp != '-' && *cp != ':') |