qmail.eclass: fix bad variable reference
authorRolf Eike Beer <eike@sf-mail.de>
Fri, 17 Jan 2020 20:35:40 +0000 (21:35 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 17 Jan 2020 22:16:02 +0000 (22:16 +0000)
This only worked by accident as it called from a loop with that variable.

Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/qmail.eclass

index 7e33611462be1dab0e44f6e77c4fb90135cb2a15..d3a7ba3ed83f46604dfd7b0e775e41828057a76c 100644 (file)
@@ -267,9 +267,9 @@ qmail_tcprules_install() {
 }
 
 qmail_supervise_install_one() {
-       dosupervise ${i}
+       dosupervise ${1}
        diropts -o qmaill -g "${GROUP_ROOT}" -m 755
-       keepdir /var/log/qmail/${i}
+       keepdir /var/log/qmail/${1}
 }
 
 qmail_supervise_install() {