uunshare: fix argument parsing

This commit is contained in:
Enno Boland 2018-04-30 18:22:28 +02:00
parent 449dc8a551
commit 513bf65c6d

View File

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