Chris Vogel 1 год назад
Родитель
Сommit
5c856119b2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/_common.sh

+ 1 - 1
scripts/_common.sh

@@ -770,7 +770,7 @@ flohmarkt_ynh_urlwatch_cron() {
     ynh_add_config --template="../conf/urlwatch.cron" \
         --destination="/etc/cron.hourly/${app}"
     chown root:root "/etc/cron.hourly/${app}"
-    chmod 755 "/etc/cron.hourly/${flohmarkt_filename}"
+    chmod 755 "/etc/cron.hourly/${app}"
     # run urlwatch once to initialize if cache file does not exist, 
     # but if sending email fails (like on CI) just warn. We do not want
     # to show the output that might contain passwords