summaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid/devname.c
diff options
context:
space:
mode:
authorRob Landley2005-09-01 00:02:56 +0000
committerRob Landley2005-09-01 00:02:56 +0000
commit91397707645a63cf2e8290d21f5fc5e41dfa4a25 (patch)
tree12fe5f9cfc3e8e7042ebb8009737c72d9fbfadae /e2fsprogs/blkid/devname.c
parent29ee76cb2bf3a58eadad402a60354ddb28102d7f (diff)
downloadbusybox-91397707645a63cf2e8290d21f5fc5e41dfa4a25.zip
busybox-91397707645a63cf2e8290d21f5fc5e41dfa4a25.tar.gz
Busybox should only multiplex based on argv[1] when it's called as "busybox".
Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet. (You also get the wrong behavior; it tries to use argv[1] as the command name just like busybox does for _any_ unknown, and although I doubt "echo rm -rf *" is common usage there's no upside and enough downside to make me nervous.) This fixes it.
Diffstat (limited to 'e2fsprogs/blkid/devname.c')
0 files changed, 0 insertions, 0 deletions