Commit e7262419 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't print uid of backup user

parent 11af4266
...@@ -33,7 +33,7 @@ cd $BACKUP_DIR/tmp ...@@ -33,7 +33,7 @@ cd $BACKUP_DIR/tmp
tar -zcf $BACKUP_FILE * tar -zcf $BACKUP_FILE *
#change owner of backup file only if user exists #change owner of backup file only if user exists
id -u $BACKUP_USER id -u $BACKUP_USER >/dev/null
status=$? status=$?
[ $status -eq 0 ] && chown $BACKUP_USER $BACKUP_FILE [ $status -eq 0 ] && chown $BACKUP_USER $BACKUP_FILE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment