Skip to content

Commit 734dead

Browse files
committed
dietpi-software: avoid subshell when writing crontab
1 parent 9886ec2 commit 734dead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dietpi/dietpi-software

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6970,7 +6970,7 @@ _EOF_
69706970
G_EXEC ln -s /opt/FreshRSS/p /var/www/freshrss
69716971

69726972
# Create cron job for feed update every 30 minutes if it does not yet exist
6973-
crontab -u www-data -l 2>/dev/null | grep -q '/opt/FreshRSS/app/actualize_script.php' || ( crontab -u www-data -l 2>/dev/null ; echo '*/30 * * * * php /opt/FreshRSS/app/actualize_script.php' ) | crontab -u www-data -
6973+
crontab -u www-data -l 2>/dev/null | grep -q '/opt/FreshRSS/app/actualize_script.php' || { crontab -u www-data -l 2>/dev/null ; echo '*/30 * * * * php /opt/FreshRSS/app/actualize_script.php'; } | crontab -u www-data -
69746974
fi
69756975

69766976
if To_Install 28 # TigerVNC Server

0 commit comments

Comments
 (0)