mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 13:52:26 +01:00 
			
		
		
		
	Fix crontab command for postinstall
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -261,7 +261,7 @@ gather_smtp_relay_data() { | ||||
|  | ||||
| make_cron_entries() { | ||||
|  | ||||
|    crontab -u "$PILERUSER" -l > "$CRON_ORIG" | ||||
|    crontab -u "$PILERUSER" -l || true > "$CRON_ORIG" | ||||
|  | ||||
|    if grep PILERSTART "$CRON_ORIG" > /dev/null 2>&1 != 0; then | ||||
|       cat /dev/null > "$CRON_ORIG" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user