projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better shell syntax
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
templates
/
backup_server
/
postgres-make-base-backups.erb
diff --git
a/modules/postgres/templates/backup_server/postgres-make-base-backups.erb
b/modules/postgres/templates/backup_server/postgres-make-base-backups.erb
index
ca17f62
..
f9381f1
100755
(executable)
--- a/
modules/postgres/templates/backup_server/postgres-make-base-backups.erb
+++ b/
modules/postgres/templates/backup_server/postgres-make-base-backups.erb
@@
-41,7
+41,7
@@
STATEDIR=/var/lib/dsa/postgres-make-base-backups
####
set -u
####
set -u
-if [ "$(id -u)" = 0 ];
+if [ "$(id -u)" = 0 ];
then
echo >&2 "Do not run me as root. Probably you want sudo -u debbackup."
exit 1
fi
echo >&2 "Do not run me as root. Probably you want sudo -u debbackup."
exit 1
fi