diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-12 11:40:51 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-12 11:40:56 +0100 |
commit | 873997298b6f6ebee5b07552659a650cee8f642f (patch) | |
tree | 7465571499c37b328866e10d97f7dd895994fe97 /bin/workstation-duplicity | |
parent | 7a0bfe3e48cc3928f444f2383485f2e1c09d44b5 (diff) | |
download | dotfiles-873997298b6f6ebee5b07552659a650cee8f642f.tar.gz |
cron does not set $USER, it would seem
Diffstat (limited to 'bin/workstation-duplicity')
-rwxr-xr-x | bin/workstation-duplicity | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/workstation-duplicity b/bin/workstation-duplicity index 55c4c847..14bb22fc 100755 --- a/bin/workstation-duplicity +++ b/bin/workstation-duplicity @@ -5,7 +5,7 @@ set -e . $HOME/.shenv FLAG_FILE="$HOME/local/duplicity-flag-file" -DUPLY_PROFILE="$(hostname -s)-$USER-home" +DUPLY_PROFILE="$(hostname -s)-$(whoami)-home" # ensure only one copy of this script is ever running at once [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" ||: |