Automated submission of kernel panic reports

dt71 at gmx.com dt71 at gmx.com
Mon Nov 4 18:48:17 UTC 2013


Jilles Tjoelker wrote, On 11/03/2013 22:29:
> The 'local' utility
> returns 0 because it successfully created the local variable, ignoring
> the status from the command substitution. Use
>    local tmpfile
>    tmpfile=`mktemp` || exit 1
> in both occurrences.

Does it make sense to use
     local tmpfile || exit 1
     tmpfile=`mktemp` || exit 1
?

Bah, let's just use ``set -e''...



More information about the freebsd-hackers mailing list