chiark / gitweb /
do proper input validation
authorMartin Zobel-Helas <zobel@debian.org>
Tue, 13 Apr 2010 16:40:12 +0000 (18:40 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Tue, 13 Apr 2010 16:40:12 +0000 (18:40 +0200)
commita05dd9f1aa349a0d1164ca63453b18c81cdb973b
tree85838c427554e40e8ac9f9ca067a2a83008cfde4
parentbbefb0dbee5cf123a977a0eefb8996e372182a85
do proper input validation

With the current code APTCMD was parsed for the valid subcomands, but if
it was invalid, it just printed it but worked nevertheless. Now we exit
if the subcommand is invalid.

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
apt-in-chroot