aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-30 12:20:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-30 12:20:43 +0200
commit51feba26006f623e15852cae3293264d611321cc (patch)
tree232f8c9ecd8861a16fe08bde82a610944386a007
parenta2e6da7484a75d17e0f46965e74896514f00bfb8 (diff)
downloadvulns-51feba26006f623e15852cae3293264d611321cc.tar.gz
scripts/voting_results: report the name of the user that caused the error
Makes it easier when debugging problems Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-xscripts/voting_results2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/voting_results b/scripts/voting_results
index 9753e992..44188519 100755
--- a/scripts/voting_results
+++ b/scripts/voting_results
@@ -114,7 +114,7 @@ for stablesha in $(git log --format=%h ${BOTTOM}..${TOP}); do
sasha=1
;;
*)
- echo "Unexpected user"
+ echo "Unexpected user '${USER}' - exiting"
exit 1
esac
votes=$((votes + 1))