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:
@@ -10,7 +10,6 @@ launch() {
|
|||||||
toLaunch="$1"
|
toLaunch="$1"
|
||||||
shift
|
shift
|
||||||
toWaitFor="$1"
|
toWaitFor="$1"
|
||||||
shift
|
|
||||||
if [ -f "/boot/$toLaunch" ]
|
if [ -f "/boot/$toLaunch" ]
|
||||||
then
|
then
|
||||||
"/boot/$toLaunch" $* &
|
"/boot/$toLaunch" $* &
|
||||||
|
|||||||
Reference in New Issue
Block a user