Run uname without escalating privileges diff from Morgan Aldrige, thanks. - drist - a remote deployment tool HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit b3a105e7a4e3b7da26d9ed9c6724c34948f0ac4a DIR parent 8687ce1a14997f5c8b16e5510180590e616735a1 HTML Author: Solene Rapenne <solene@perso.pw> Date: Sat, 3 Oct 2020 22:32:37 +0200 Run uname without escalating privileges diff from Morgan Aldrige, thanks. Diffstat: M drist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/drist b/drist @@ -107,7 +107,7 @@ do echo "Running on ${remote_server}" # check if host exists - HOSTNAME=$(ssh $SSH_PARAMS "${remote_server}" "${EXEC} uname -n") + HOSTNAME=$(ssh $SSH_PARAMS "${remote_server}" "uname -n") if [ "$?" -ne 0 ]; then echo "Error while ssh ${remote_server}" exit 2