| Summary: | PATCH: motif-config exits instead of returning while deactivating a profile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | devsk <funtoos> |
| Component: | Current packages | Assignee: | Heinrich Wendel (RETIRED) <lanius> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
it's fixed in motif-config-0.2 |
I think you intended to 'return 0' instead of 'exit 0' at line 90. I can never set a profile if current profile is not set(chicken and egg), because I exit instead of returnng to 'activate'. This patch should help. --- /usr/bin/motif-config.orig 2005-02-26 16:20:43.527582368 -0800 +++ /usr/bin/motif-config 2005-02-26 16:20:57.881400256 -0800 @@ -87,7 +87,7 @@ current=`cat ${CONFIG_FILE} 2>/dev/null` if [ -z "$current" ]; then - exit 0 + return 0 fi # libs