Fix 'restart' command.