fork: Fix bug in argument size detection

This commit is contained in:
Salt 2019-10-25 00:36:43 -05:00
parent 812c45429a
commit 17b2ebada2
1 changed files with 1 additions and 1 deletions

2
fork
View File

@ -8,7 +8,7 @@
#
if [ -z "$@" ]; then
if [ -z "$*" ]; then
printf "fork: requires argument\\n"
exit 1
fi