bitreich-drist

fork of bitreich.org/drist
git clone git://git.pyratebeard.net/bitreich-drist.git
Log | Files | Refs | README | LICENSE

commit b3a105e7a4e3b7da26d9ed9c6724c34948f0ac4a
parent 8687ce1a14997f5c8b16e5510180590e616735a1
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:
Mdrist | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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