Comment 5 for bug 815201

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote : Re: [Bug 815201] Re: /usr/sbin/laptop_mode: line 1143: return: can only `return' from a function or sourced script

On 07/27/2011 12:08 AM, Eric Belanger wrote:
> Wouldn't it be possible to put the return 0 in a dummy function to keep
> bash happy?
I still will have to call the function to make init scripts clean. Does
keeping it in a function and calling the function help ?

--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."