Fix error on installer abort/exit
authorkn <kn@openbsd.org>
Fri, 10 Mar 2023 10:33:40 +0000 (10:33 +0000)
committerkn <kn@openbsd.org>
Fri, 10 Mar 2023 10:33:40 +0000 (10:33 +0000)
commite07c6f078b7463862f259ae80f2b63a0c7d5cd2b
treef584bafd270d8b87c83750d69ceaa36fdd817028
parentc4e39560f8dbc247033aca55f65f1ca7f48d0fd3
Fix error on installer abort/exit

^C during questiong yields
/install: /tmp/cppid: cannot open $(<) input

The trap handler must first test existence, then read the PID file.
Quote like other PID file constructs in install.sub do.

Use newlines to make the trap function readable.

OK miod
distrib/miniroot/install.sub