Remove bogus shift : shifting an empty list of arguments is not allowed.

This allows to boot Haiku with mksh as /bin/sh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38081 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-13 12:02:27 +00:00
parent 7c7f4cafda
commit 1401598fed
-1
View File
@@ -10,7 +10,6 @@ launch() {
toLaunch="$1"
shift
toWaitFor="$1"
shift
if [ -f "/boot/$toLaunch" ]
then
"/boot/$toLaunch" $* &