Skip to content

Commit

Permalink
Fixed #770
Browse files Browse the repository at this point in the history
  • Loading branch information
framps committed Jul 30, 2024
1 parent 6a40d29 commit ccf476b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installation/raspiBackupInstallUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2480,14 +2480,14 @@ function systemd_install_execute() {

writeToConsole $MSG_INSTALLING_SYSTEMD_TEMPLATE "$SYSTEMD_SERVICE_ABS_FILE"
echo "$SYSTEMD_SERVICE" >"$SYSTEMD_SERVICE_ABS_FILE"
if ! chmod 755 $SYSTEMD_SERVICE_ABS_FILE &>>$LOG_FILE; then
if ! chmod 655 $SYSTEMD_SERVICE_ABS_FILE &>>$LOG_FILE; then
unrecoverableError $MSG_CHMOD_FAILED "$SYSTEMD_SERVICE_ABS_FILE"
logExit
return
fi
writeToConsole $MSG_INSTALLING_SYSTEMD_TEMPLATE "$SYSTEMD_TIMER_ABS_FILE"
echo "$SYSTEMD_TIMER" >"$SYSTEMD_TIMER_ABS_FILE"
if ! chmod 755 $SYSTEMD_TIMER_ABS_FILE &>>$LOG_FILE; then
if ! chmod 655 $SYSTEMD_TIMER_ABS_FILE &>>$LOG_FILE; then
unrecoverableError $MSG_CHMOD_FAILED "$SYSTEMD_TIMER_ABS_FILE"
logExit
return
Expand Down

0 comments on commit ccf476b

Please sign in to comment.