summaryrefslogtreecommitdiff
path: root/debian/99-libsane1.rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/99-libsane1.rules')
-rw-r--r--debian/99-libsane1.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/99-libsane1.rules b/debian/99-libsane1.rules
index ada47b4..42d0dd4 100644
--- a/debian/99-libsane1.rules
+++ b/debian/99-libsane1.rules
@@ -1,2 +1,2 @@
-ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
+ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"