Depends on the nature of the glitch.
Machine adds an extra dollar to every ticket? User is probably blameless.
In this case is sounds like there is an extra action to exploit the machine - insert tickets two at a time, and then insert one of the tickets again.
Not a perfect analogy, but if you see a store with a broken door, you're still at fault if you start looting.