X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fcommand.c;h=48bed2de0262760f49e944b119632f6907c6e459;hp=ca06478c6681d19c5266cf617a9c8e2c2c93aa05;hb=d600342b7d29c0176ff96a7807ebb38303ecb3a6;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce diff --git a/daemon/command.c b/daemon/command.c index ca06478..48bed2d 100644 --- a/daemon/command.c +++ b/daemon/command.c @@ -36,7 +36,7 @@ do_command (char *const *argv) int dev_ok, dev_pts_ok, proc_ok, selinux_ok, sys_ok; /* We need a root filesystem mounted to do this. */ - NEED_ROOT (return NULL); + NEED_ROOT (0, return NULL); /* Conveniently, argv is already a NULL-terminated argv-style array * of parameters, so we can pass it straight in to our internal