mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-24 06:04:19 +03:00
Store argv
This commit is contained in:
parent
70babe8a28
commit
060065926f
@ -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 == '/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user