|
@@ -229,7 +229,7 @@ _pretty__get_frontend() {
|
229
|
229
|
_pretty__is_internal && continue
|
230
|
230
|
_pretty__is_frontend && echos "$fname" && return 0
|
231
|
231
|
echo "do not call _pretty_* directly: $fname" >&2
|
232
|
|
- return $FFOO_EXIT_USAGE
|
|
232
|
+ return "$FFOO_EXIT_USAGE"
|
233
|
233
|
done
|
234
|
234
|
}
|
235
|
235
|
|
|
@@ -310,7 +310,7 @@ _pretty__echo_cmd() {
|
310
|
310
|
# Print command line, launch it and report exit status
|
311
|
311
|
#
|
312
|
312
|
local c=\$
|
313
|
|
- test $(id -u) -eq 0 && c=\#
|
|
313
|
+ test "$(id -u)" -eq 0 && c="#"
|
314
|
314
|
echo "$c $*"
|
315
|
315
|
"$@"
|
316
|
316
|
echo "^ exit status: $?"
|