diff options
author | Raphaël Hertzog <raphael@offensive-security.com> | 2020-04-23 22:26:52 +0200 |
---|---|---|
committer | Raphaël Hertzog <raphael@offensive-security.com> | 2020-04-23 22:30:43 +0200 |
commit | 440c0b7738cbbcd2fa2dd948ab201d40e23db074 (patch) | |
tree | 6faeb7ccae7c6938f4550424b366535768362f47 /debian | |
parent | 10bbb095a8bab26a91288f737d464c4d025d8682 (diff) | |
download | vyos-live-build-440c0b7738cbbcd2fa2dd948ab201d40e23db074.tar.gz vyos-live-build-440c0b7738cbbcd2fa2dd948ab201d40e23db074.zip |
frontend: do no try to look for sub-commands in the PATH
This is a recipe for disaster and it actually already fails when
you pass something that looks like a long option as first argument
because $(which --long-option) will produce an "Illegal option"
string on its standard output.
$ lb --debug config --archive-areas "main contrib non-free"
Illegal option --
/usr/bin/lb: 54: [: Usage:: unexpected operator
E: Unknown command: --debug
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions