[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 38

On 27.08.2010 10:34, posion bit wrote:
On Fri, Aug 27, 2010 at 10:27 AM, Samuel Thibault<sthibault@debian.org>  wrote:
Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
On 27.08.2010 10:09, posion bit wrote:
look one so simple in /etc/init.d/rc

                         for i in /etc/rc$runlevel.d/K$level*
                                 # Check if the script is there.
                                 [ ! -f $i ]&&    continue

The [ ! -f $i ] is not going to make what she was meaning (thinking
she know what she was doing)

why no?

IMHO I still think it is save and intentional.

In bash there is not SAVE the avoid of quotes on strings that you are
not SURE that are simple words.


Adding quotes don't solve the problem!

Hints: this script don't set IFS (but it is ok, because it is run
from a controlled environment).


Reply to: