diff options
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/keysafe-server.postrm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/keysafe-server.postrm b/debian/keysafe-server.postrm index 10ebfea..4addbc6 100755 --- a/debian/keysafe-server.postrm +++ b/debian/keysafe-server.postrm @@ -8,7 +8,7 @@ set -e # delete the _keysafe user and group, after chowning the shard storage # to root so that it does not end up owned by another system user if [ "$1" = "purge" ]; then - if [ -e "/var/lib/keysafe" ]; then + if [ -d "/var/lib/keysafe" ]; then chown -R root:root /var/lib/keysafe fi userdel _keysafe || true |