diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-09-24 15:21:47 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-09-24 15:22:28 +0200 |
commit | c569d529ec6a10a67527d5678c1d4acf011c6506 (patch) | |
tree | b72beba3bb50bb1c959e8bad2df4ccccde484dc5 /src/test | |
parent | 68c2b5ddb1881c40201c1d86a7852dd5c5c06a76 (diff) | |
download | systemd-c569d529ec6a10a67527d5678c1d4acf011c6506.tar.gz |
test-mountpoint-util: improve output a bit
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-mountpoint-util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c index 8c5aac8eb7..499873f0ce 100644 --- a/src/test/test-mountpoint-util.c +++ b/src/test/test-mountpoint-util.c @@ -81,10 +81,11 @@ static void test_mnt_id(void) { continue; } - log_debug("mnt ids of %s are %i, %i\n", p, mnt_id, mnt_id2); - - if (mnt_id == mnt_id2) + if (mnt_id == mnt_id2) { + log_debug("mnt ids of %s is %i\n", p, mnt_id); continue; + } else + log_debug("mnt ids of %s are %i, %i\n", p, mnt_id, mnt_id2); /* The ids don't match? If so, then there are two mounts on the same path, let's check if * that's really the case */ |