ash: minor fixes
authorRon Yorston <rmy@pobox.com>
Mon, 5 Nov 2018 13:13:08 +0000 (13:13 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Nov 2018 07:49:11 +0000 (08:49 +0100)
commit8767c12774d9392565f20d3ea4e28bb1b6075a31
treebbafe8f27680733f1db7e83dd43d55e62c1437ef
parent084bac472b02f307a093f56a262312accd6fb014
ash: minor fixes

Ensure that login_sh is initialised in procargs even when running
an embedded script.

The argc argument to ash_main isn't unused when embedded scripts
are present.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c