Ensure /usr/sbin is in path

This commit is contained in:
Jason Ertel authored and GitHub committed 2023-03-28 11:48:31 -04:00
1 parent 636505ef98
commit 492fe1fc85
1 file changed
+5
+5
View File
@@ -16,6 +16,11 @@ if [ -z $NOROOT ]; then
fi
fi
# Ensure /usr/sbin is in path
if ! echo "$PATH" | grep -q "/usr/sbin"; then
export PATH="$PATH:/usr/sbin"
fi
# Define a banner to separate sections
banner="========================================================================="