uunshare: fix argument parsing
This commit is contained in:
parent
449dc8a551
commit
513bf65c6d
@ -157,7 +157,7 @@ main(int argc, char **argv)
|
||||
if (argc < 2)
|
||||
usage(argv0);
|
||||
|
||||
chrootdir = argv[-1];
|
||||
chrootdir = argv[0];
|
||||
cmd = argv[1];
|
||||
cmdargs = argv + 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user