tinymotd icon indicating copy to clipboard operation
tinymotd copied to clipboard

Added check for running as root before running 'apt update'

Open adamshand opened this issue 3 years ago • 0 comments

A super simple update which does two things:

  • Adds an extra -q to apt update to silence "xx packages can be upgraded." messages.
  • Adds a check to make sure the script is running as root before running apt update

This is my first pull request so hopefully it comes through correctly.

adamshand avatar Feb 26 '22 08:02 adamshand