From 1401598fedfbe23231957cee8e1a7124d0ec5e87 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 13 Aug 2010 12:02:27 +0000 Subject: [PATCH] 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 --- data/system/boot/Bootscript | 1 - 1 file changed, 1 deletion(-) diff --git a/data/system/boot/Bootscript b/data/system/boot/Bootscript index d3dbea5ac0..0f71e88a10 100644 --- a/data/system/boot/Bootscript +++ b/data/system/boot/Bootscript @@ -10,7 +10,6 @@ launch() { toLaunch="$1" shift toWaitFor="$1" - shift if [ -f "/boot/$toLaunch" ] then "/boot/$toLaunch" $* &