Skip to content
Snippets Groups Projects
Commit a08a461d authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Correction

parent 0e3e357f
No related branches found
No related tags found
No related merge requests found
Pipeline #1555 passed with stage
in 55 seconds
......@@ -4,8 +4,8 @@ HOST=$(hostname)
# Controlla se l'utente è già loggato su un altro host
if grep -v "^$HOST " ~/.client-logins.log; then
OTHER_HOST=$(grep -v "^$HOST "|awk '{ print $1 }')
DATE=$(grep -v "^$HOST "|awk '{ print $2 }')
OTHER_HOST=$(grep -v "^$HOST " ~/.client-logins.log|awk '{ print $1 }')
DATE=$(grep -v "^$HOST " ~/.client-logins.log|awk '{ print $2 }')
yad --info --width 400 --title "Avviso login" --text-align=center \
--text "<span font='20'><b> \nAttenzione! </b>\n\nSei già loggato su $OTHER_HOST in data $DATE</span>"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment