hush: handle empty execs

Sometimes variable expansions yield empty strings, and if they happen to
be a command someone wants to run like `$foo`, then hush currently
segfaults.  So handle `` and $().

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2009-10-18 01:11:45 -04:00
parent 69d9edc6f8
commit 28736c36ca
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
0
0
0
0
0
0
0
0
0
0
0
0
0
0