util.startup: Don't use not yet existent shutdown procedure when started as root (thanks SigmaTel71)
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
module:set_global(); -- we're a global module
-- TODO delete this whole concept