[Bug 618492] New: /usr/bin/on_ac_power: line 45: syntax error: unexpected end of file
http://bugzilla.novell.com/show_bug.cgi?id=618492 http://bugzilla.novell.com/show_bug.cgi?id=618492#c0 Summary: /usr/bin/on_ac_power: line 45: syntax error: unexpected end of file Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- Blocker: --- error message at startup: /usr/bin/on_ac_power: line 45: syntax error: unexpected end of file rpm -qf /usr/bin/on_ac_power pm-utils-1.3.0-6.1.x86_64 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=618492
http://bugzilla.novell.com/show_bug.cgi?id=618492#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=618492
http://bugzilla.novell.com/show_bug.cgi?id=618492#c1
Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=618492
http://bugzilla.novell.com/show_bug.cgi?id=618492#c2
--- Comment #2 from Harald Koenig
Do you have bash as /bin/sh on your system? If so, can you run the script using bash -x /usr/bin/on_ac_power?
looks like this but already got fixed in pm-utils-1.3.0-7.1.x86_64 (I was using pm-utils-1.3.0-6.1.x86_64 last night). the "done" for the for-loop was missing, now it's working again with both sh and bash (yes, /bin/sh is a symlink to bash). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=618492
http://bugzilla.novell.com/show_bug.cgi?id=618492#c3
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com