diff options
| author | jvdias <jvdias@fedoraproject.org> | 2005-08-03 17:05:11 +0000 |
|---|---|---|
| committer | jvdias <jvdias@fedoraproject.org> | 2005-08-03 17:05:11 +0000 |
| commit | 4206716eadb16bae923e3abb608a4681b7badca1 (patch) | |
| tree | fe44e387fab9db0ceb82a29d9b6d2636306906f2 | |
| parent | c4c1d41f16a5b0c19271ed59371f78a3691b7920 (diff) | |
| download | bind-4206716eadb16bae923e3abb608a4681b7badca1.tar.gz bind-4206716eadb16bae923e3abb608a4681b7badca1.tar.xz bind-4206716eadb16bae923e3abb608a4681b7badca1.zip | |
fix bug 164017: deal with multiple and trailing "/" sequences in $ROOTDIR
| -rwxr-xr-x | named.init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ prog="named" [ -r ${ROOTDIR}/etc/named.conf ] || exit 1 +[ -n "$ROOTDIR" ] && ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'` + start() { # Start daemons. echo -n $"Starting $prog: " |
