#1142194 storebackup: the $USER env variable is not set under cron, which generates an error

#1142194#5
Date:
2026-07-16 11:38:09 UTC
From:
To:
When storeBackup is called by cron (I have a file under /etc/cron.d/local-storebackup) the USER env var is not set, which gives rise to an error:

Use of uninitialized value $ENV{"USER"} in string eq at /usr/bin/storeBackup line 141.

For the rest, storeBackup works normally, which is why I have set this as a minor problem, but I suppose this could give problems in case of concurrent runs.