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:
pjd 2004-09-06 13:42:09 +00:00
parent 59ec5ec60b
commit 058c0d3387

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);