On Sat, Oct 2, 2021 at 10:24 PM Martynas Jusevičius <[email protected]> wrote: > > Actually it does not seem to be the exit code. I tried checking and it > looks like the exit code is 0: > > root@dc17c642d39a:/etc/varnish# varnishadm "ban req.url ~ /" > 200 > > root@dc17c642d39a:/etc/varnish# test $? -eq 0 || echo "Error" > root@dc17c642d39a:/etc/varnish# > > So where is that "200" coming from?
You shouldn't see a 200, except for this bug fixed in 7.0: https://github.com/varnishcache/varnish-cache/issues/3687 What version of Varnish are you running? Dridi _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
