candidate: In 1942 the Army amended its criminal code to specify that officers who surrendered soldiers under their command faced at least six months imprisonment , regardless of the circumstances in which the surrender took place .