The man was in line getting ready to check out when the gun went off, WFTS reported.