Set target to argv[0] - this is a bit more clear
This commit is contained in:
parent
6ba6b731c1
commit
818794af45
2
mount.c
2
mount.c
@ -104,7 +104,7 @@ main(int argc, char *argv[])
|
|||||||
target = argv[1];
|
target = argv[1];
|
||||||
|
|
||||||
if (!target) {
|
if (!target) {
|
||||||
target = source;
|
target = argv[0];
|
||||||
source = NULL;
|
source = NULL;
|
||||||
if (stat(target, &st1) < 0)
|
if (stat(target, &st1) < 0)
|
||||||
eprintf("stat %s:", target);
|
eprintf("stat %s:", target);
|
||||||
|
Loading…
Reference in New Issue
Block a user