From 82007efa44ad51b69514455f3229fac1a4b58256 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sat, 26 Aug 2023 01:11:55 +0800 Subject: [PATCH] mount/mount-tool: return correct errno Follow-up for 9269296df05a724c6b121bcbb0b420c8b4088f2f --- src/mount/mount-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index b167176a9f..a0dcdf53b6 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -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);