Revision e0a45fb4 sysdep/unix/main.c

View differences:

sysdep/unix/main.c
141 141
{
142 142
  struct config *conf;
143 143

  
144
  if (cli_access_restricted())
145
    return;
146

  
144 147
  if (!name)
145 148
    name = config_name;
146 149
  cli_msg(-2, "Reading configuration from %s", name);
......
304 307
 */
305 308

  
306 309
void
310
cmd_shutdown(void)
311
{
312
  if (cli_access_restricted())
313
    return;
314

  
315
  cli_msg(7, "Shutdown requested");
316
  order_shutdown();
317
}
318

  
319
void
307 320
async_shutdown(void)
308 321
{
309 322
  DBG("Shutting down...\n");

Also available in: Unified diff