admin: fix bug in restart
admin: fix bug in restart

tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,sagemathinc/smc,DrXyzzy/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,tscholl2/smc,DrXyzzy/smc,tscholl2/smc,sagemathinc/smc,tscholl2/smc