daemon: Explicitly ignore return value from modprobe command (found by Coverity).

This commit is contained in:
Richard W.M. Jones
2012-12-08 13:28:11 +00:00
parent baf5a06224
commit 15d5c94377

View File

@@ -23,6 +23,7 @@
#include <string.h>
#include "c-ctype.h"
#include "ignore-value.h"
#include "guestfs_protocol.h"
#include "daemon.h"
@@ -103,7 +104,7 @@ test_proc_filesystems (const char *filesystem)
static void
modprobe (const char *module)
{
command (NULL, NULL, str_modprobe, module, NULL);
ignore_value (command (NULL, NULL, str_modprobe, module, NULL));
}
/* Internal function for testing if a filesystem is available. Note