1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-24 06:04:19 +03:00

Store argv

This commit is contained in:
Alasdair Kergon 2003-05-06 12:09:28 +00:00
parent 70babe8a28
commit 060065926f

View File

@ -1168,6 +1168,7 @@ int main(int argc, char **argv)
if (!(cmd = _init()))
return -1;
cmd->argv = argv;
namebase = strdup(argv[0]);
base = basename(namebase);
while (*base == '/')