mount/mount-tool: return correct errno

Follow-up for 9269296df0
This commit is contained in:
Mike Yuan
2023-08-26 09:27:23 +09:00
committed by Yu Watanabe
parent 3b9b33a143
commit 82007efa44
+1 -1
View File
@@ -559,7 +559,7 @@ static int transient_mount_set_properties(sd_bus_message *m) {
if (arg_mount_options)
if (!strextend_with_separator(&options, ",", arg_mount_options))
return r;
return -ENOMEM;
if (options) {
log_debug("Using mount options: %s", options);