https://bugzilla.novell.com/show_bug.cgi?id=771366 https://bugzilla.novell.com/show_bug.cgi?id=771366#c3 Wojtek Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Wojtek Dziewięcki <vdziewiecki@suse.com> 2012-08-13 13:12:13 UTC --- I would change this part (from line 85 onwards) in /usr/lib/pm-utils/pm-functions: . "${PM_FUNCTIONS}" # Simple little logging function. # We do it this way because 'echo -n' is not posix. log() { is_set "$LOGGING" || return 0; local fmt='%s\n' [ "$1" = "-n" ] && { fmt='%s'; shift; } printf "$fmt" "$*" } to: # Simple little logging function. # We do it this way because 'echo -n' is not posix. log() { is_set "$LOGGING" || return 0; local fmt='%s\n' [ "$1" = "-n" ] && { fmt='%s'; shift; } printf "$fmt" "$*" } . "${PM_FUNCTIONS}" This way the "log" function wouldn't be called before it is declared. Carlos, could you try it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.