quit loop only if accepting commands was actually enabled
svn path=/branches/kdepim/enterprise4/kdepim/; revision=811964