Fixing a bug when enabling the configsrv command opt