xroche / httrack

HTTrack Website Copier, copy websites to your computer (Official repository)
http://www.httrack.com/
Other
3.38k stars 645 forks source link

Suppress root warning #241

Closed marcstern closed 1 year ago

marcstern commented 1 year ago

When you voluntary schedule a script as root, httrack gives each time a warning that pollutes the logs:

WARNING! You are running this program as root! It might be a good idea to run as a different user

Could we add an option to suppress this? That would enhance the readability and allow an easier detection of real warnings in the log (with grep f.i.).

xroche commented 1 year ago

Running as root is extremely dangerous, and ideally you should use su to downgrade the rights of the program.