This question already has an answer here:
Yesterday I installed Ubuntu 16.10 (Unity) alongside Windows 10 which was already installed.
I found myself using a terminal a lot, but there is something which kinda bugs me: even if no command is running, if I'm logged in as root (I mean after typing
sudo su and then my password) when I want to close the terminal it will prompt me with this
How can I close it without that message popping up? I want it to pop up only if the terminal is executing some command.