Typing sudo when logged as root does nothing to change the command. However, if, instead, you logged in using a tty, it will allow the command to work. This is easier than writing two separate workarounds when one will actually work for both situations.
Typing sudo when logged as root does nothing to change the command. However, if, instead, you logged in using a tty, it will allow the command to work. This is easier than writing two separate workarounds when one will actually work for both situations.