]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
shared/dissect-image: log messages from cryptsetup
authorTopi Miettinen <toiwoton@gmail.com>
Thu, 2 Apr 2020 13:57:26 +0000 (16:57 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Apr 2020 15:44:20 +0000 (17:44 +0200)
commit1887032f71b00e51d04bb5ae1860d581da786154
tree4e4b03cd7931eea67b51889c50b3e77ac1224be6
parentaa5408e2e8a66b71f38531f1dcb91252c586a23c
shared/dissect-image: log messages from cryptsetup

Before:
```
write(2, "Device /dev/loop1p1 is too small.\n", 34) = -1 ENOTCONN (Transport
endpoint is not connected)
```

After:
```
$ journalctl -b -e | grep 'too small'
Apr 02 16:53:30 loora systemd[343579]: Device /dev/loop1p1 is too small.
```
src/shared/dissect-image.c