mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-05 09:17:44 +03:00
umount: fix log message
The sentence wasn't correct English language, let's fix that. More importantly: if the mount options are empty we'd display "(null)" here. Fix that. (And they can be empty IRL, see CI results)
This commit is contained in:
parent
7ee587afe3
commit
d6c3a32056
@ -522,7 +522,7 @@ static int remount_with_timeout(MountPoint *m, int umount_log_level) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (r == 0) {
|
||||
log_info("Remounting '%s' read-only in with options '%s'.", m->path, m->remount_options);
|
||||
log_info("Remounting '%s' read-only with options '%s'.", m->path, strna(m->remount_options));
|
||||
|
||||
/* Start the mount operation here in the child */
|
||||
r = mount(NULL, m->path, NULL, m->remount_flags, m->remount_options);
|
||||
|
Loading…
Reference in New Issue
Block a user