Better error handling, force root, better readability
Better error handling, force root, better readability

set -e stop script if error 
function for error
arg 1 = errror message
arg 2 = error code
Nevax07/FreedomOS,Nevax07/FreedomOS,Nevax07/FreedomOS,Nevax07/FreedomOS