Skip to content

Commit 7f20731

Browse files
authored
Update menu-master.sh
1 parent 166042f commit 7f20731

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/menu-master.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ check_for_updates() {
5555
/opt/easy-linux/update_scripts.sh
5656

5757
# Create the last update file and set the timestamp
58-
sudo chown $USER:0 -vR /opt/easy-linux/support
58+
sudo chown $USER:0 -vR /opt/easy-linux/support >/dev/null
5959
sudo echo "$(date +%s)" > "$last_update_file"
6060
fi
6161
}
@@ -185,7 +185,8 @@ backup_func() {
185185
# Function to handle menu selection
186186
main_menu() {
187187
clear
188-
source "${scripts_dir}/support/support-Banner_func.sh" && sudo chown -vR $USER:0 /opt/easy-linux >/dev/null
188+
source "${scripts_dir}/support/support-Banner_func.sh"
189+
sudo chown -vR $USER:0 /opt/easy-linux >/dev/null
189190
echo
190191
printf "${BL}${BOLD} $username ${BOLD}${GN}Beesoc's Easy Linux Loader ${BL} $computername ${CY}\n"
191192
echo

0 commit comments

Comments
 (0)