use whoami rather than users to get username

This commit is contained in:
Felix Van der Jeugt 2022-07-12 11:27:50 +02:00
parent 5883b1d6ad
commit 4b634a4a4a
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
curl -s --header "Content-Type: text/plain" --header "X-Username: $(users)" -d "$*" https://kelder.zeus.ugent.be/messages/ curl -s --header "Content-Type: text/plain" --header "X-Username: $(whoami)" -d "$*" https://kelder.zeus.ugent.be/messages/