Allow to setup GBDE on providers which contain '/' in their names,

e.g. mirror/<name>, stripe/<name>.

Approved by:	phk
This commit is contained in:
Pawel Jakub Dawidek 2004-09-06 13:42:09 +00:00
parent 578e7e6070
commit 6eafaa600e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134841

View File

@ -812,8 +812,6 @@ main(int argc, char **argv)
} else {
if (!memcmp(dest, _PATH_DEV, strlen(_PATH_DEV)))
strcpy(dest, dest + strlen(_PATH_DEV));
if (strchr(dest, '/'))
usage("\"dest\" argument must be geom-name\n");
}
memset(&sc, 0, sizeof sc);