diff options
author | Olaf Hering <olaf@aepfle.de> | 2012-09-03 10:58:27 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-03 11:02:05 +0100 |
commit | b6413f8dbef92c46c4baf9499366716a166f2163 (patch) | |
tree | 0f7fbe6bf4f12e7f5a597fcdd2a9710a5f4c7de3 /daemon | |
parent | c659cf8ea602755035460ca7ac4a794da19df597 (diff) | |
download | libguestfs-b6413f8dbef92c46c4baf9499366716a166f2163.tar.gz libguestfs-b6413f8dbef92c46c4baf9499366716a166f2163.tar.xz libguestfs-b6413f8dbef92c46c4baf9499366716a166f2163.zip |
daemon: remove call to obsolete udevsettle
udevadm is included in all reasonable recent distributions.
This avoids 'command not found' errors in verbose mode.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/guestfsd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index e6d5fde4..0db56e49 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -54,7 +54,6 @@ #include "daemon.h" GUESTFSD_EXT_CMD(str_udevadm, udevadm); -GUESTFSD_EXT_CMD(str_udevsettle, udevsettle); static char *read_cmdline (void); @@ -1287,16 +1286,9 @@ random_name (char *template) * * Use 'udevadm settle' after certain commands, but don't be too * fussed if it fails. - * - * 'udevsettle' was the old name for this command (RHEL 5). This was - * deprecated in favour of 'udevadm settle'. The old 'udevsettle' - * command was left as a symlink. Then in Fedora 13 the old symlink - * remained but it stopped working (RHBZ#548121), so we have to be - * careful not to assume that we can use 'udevsettle' if it exists. */ void udev_settle (void) { (void) command (NULL, NULL, str_udevadm, "settle", NULL); - (void) command (NULL, NULL, str_udevsettle, NULL); } |