/usr/sbin/laptop_mode: line 1143: return: can only `return' from a function or sourced script
Bug #815201 reported by
Eric Belanger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Laptop Mode Tools |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When running "/usr/sbin/
/usr/sbin/
It looks like the 'return 0;' at the end is causing some problem.
Changed in laptop-mode-tools: | |
status: | New → Fix Committed |
Changed in laptop-mode-tools: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
On 07/24/2011 02:03 AM, Eric Belanger wrote: laptop_ mode auto" (version 1.58), I get the following message: laptop_ mode: line 1143: return: can only `return' from a function or sourced script
> When running "/usr/sbin/
> /usr/sbin/
>
> It looks like the 'return 0;' at the end is causing some problem.
That is weird. I did test. And I did still do not see this problem on my
setup.
12:35:53 rrs@champaran: ~/devel/ Laptop- Mode-Tools/ LMT-Debian$ sudo sbin/laptop_ mode auto ~/devel/ Laptop- Mode-Tools/ LMT-Debian$ Laptop
/usr/
[sudo] password for rrs:
12:36:01 rrs@champaran:
mode
enabled,
not active [unchanged]
Can you investigate a little more?
-- people. debian. org/~rrs
Ritesh Raj Sarraf | http://
Debian - The Universal Operating System