Missed a $ in expansion.
This commit is contained in:
parent
edbe79a519
commit
5e74f99272
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ mkdir -p "$LOGSDIR" 2>/dev/null || {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Update the log with this upload date/time.
|
# Update the log with this upload date/time.
|
||||||
printf "%s - %s\\n" "$(printf "%(%c)T")" "{RSYNC_USER_NAME:-(none)}@${RSYNC_HOST_NAME:-$RSYNC_HOST_ADDR}" >>"$LOGSDIR/${RSYNC_MODULE_NAME%%-upload}"
|
printf "%s - %s\\n" "$(printf "%(%c)T")" "${RSYNC_USER_NAME:-(none)}@${RSYNC_HOST_NAME:-$RSYNC_HOST_ADDR}" >>"$LOGSDIR/${RSYNC_MODULE_NAME%%-upload}"
|
||||||
|
|
||||||
# Determine the subject of the message.
|
# Determine the subject of the message.
|
||||||
if (( RSYNC_EXIT_STATUS == 0 )); then
|
if (( RSYNC_EXIT_STATUS == 0 )); then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue