Don't barf if /var/log doesn't support ACLs

http://hydra.nixos.org/build/13462892
This commit is contained in:
Eelco Dolstra 2014-08-18 14:21:45 +02:00
parent c3c9e2d9bc
commit 7c4591d010

View file

@ -744,7 +744,7 @@ in
# Make all journals readable to users in the wheel and adm
# groups, in addition to those in the systemd-journal group.
# Users can always read their own journals.
${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal
${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal || true
'';
# Target for charon send-keys to hook into.