diff options
author | Kay Sievers <kay@vrfy.org> | 2012-09-16 23:31:11 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-09-17 13:54:03 +0200 |
commit | 0bb91b50100e4633a0e68135854e606653055748 (patch) | |
tree | e191e53beb135e2f91e85857ed828776b241a1c9 /src/udev/udevadm-test-builtin.c | |
parent | f6c2e28b07a0d24c68f7780fc986ac3619fdcbdb (diff) |
udev: add btrfs support
All "btrfs" file systems will be registered with the kernel when they
show up.
Incomplete multi-device volumes will set SYSTEMD_READY=0, to prevent
access until the volume is complete and fully registered.
Diffstat (limited to 'src/udev/udevadm-test-builtin.c')
-rw-r--r-- | src/udev/udevadm-test-builtin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/udevadm-test-builtin.c b/src/udev/udevadm-test-builtin.c index ef788b0e02..92f07f1389 100644 --- a/src/udev/udevadm-test-builtin.c +++ b/src/udev/udevadm-test-builtin.c @@ -108,8 +108,9 @@ static int adm_builtin(struct udev *udev, int argc, char *argv[]) goto out; } - if (udev_builtin_run(dev, cmd, command, true) < 0) { - fprintf(stderr, "error executing '%s'\n\n", command); + rc = udev_builtin_run(dev, cmd, command, true); + if (rc < 0) { + fprintf(stderr, "error executing '%s', exit code %i\n\n", command, rc); rc = 6; } out: |