From 9494016d2d83c0e5315e77bd58e0263f6cd8cd62 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Sun, 13 Nov 2022 17:10:25 +0000 Subject: [PATCH] Apply #34 --- tools/bin/send-patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bin/send-patch b/tools/bin/send-patch index 0364d88..6ad26fb 100755 --- a/tools/bin/send-patch +++ b/tools/bin/send-patch @@ -29,7 +29,7 @@ readpwd() { curlec() { RETURN="$(curl -w "\n%{http_code}" "$@" 2> /dev/null)" ERROR_CODE="$(echo "$RETURN" | tail -n1)" - RETURN="$(echo "$RETURN" | head -n"-1")" + RETURN="$(echo "$RETURN" | sed '$d')" } # Prompts user to login and gives out an access token to use