Changeset - ee406aac7d24
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-06-29 04:17:04
branko@majic.rs
Fixed the etckeeper command call.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
configuration/etckeeper_notifier.sh
Show inline comments
 
@@ -119,7 +119,7 @@ if [[ ! -f $etckeeper ]]; then
 
    exit 2
 
fi
 

	
 
if "$etckeeper" -d "$directory"; then
 
if "$etckeeper" unclean -d "$directory"; then
 
    mail -s "Uncommited changes on '$(hostname -f)' in '$directory'" $notificationRecipients <<EOF
 
Uncommitted changes have been detected on server $(hostname -f) in directory:
 

	
0 comments (0 inline, 0 general)