commit | 6bb22fea25624ab593eee376fa5fb82d1b13f45a | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed Sep 05 14:37:36 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 10 16:43:05 2012 -0700 |
tree | e7befe25e0264de757770c2065a2821b4422f4e5 | |
parent | d5ab482799e7c4c4b7c0aa67e8710dce28115d03 [diff] |
tools/hv: Fix exit() error code Linux native exit codes are 8-bit unsigned values. exit(-1) results in an exit code of 255, which is usually reserved for shells reporting 'command not found'. Use the portable value EXIT_FAILURE. (Not that this matters much for a daemon.) Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>