From: Evgeny Vereshchagin Date: Tue, 31 Jan 2017 18:04:01 +0000 (+0300) Subject: core: fix copy paste error (s/source/destination/) (#5197) X-Git-Tag: v233~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91d910e386f7b0ada1296994e86ebbd1c8c762dc;p=thirdparty%2Fsystemd.git core: fix copy paste error (s/source/destination/) (#5197) ``` -bash-4.3# systemd-run --property BindPaths=/etc:tmp/hey sh -c 'ls /tmp/hey' ``` prints `Destination path tmp/hey is not absolute.` instead of `Destination path /etc is not absolute.` CID #1368239 --- diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 3ae894d59c0..cc10e2d8e74 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -1698,7 +1698,7 @@ int bus_exec_context_set_transient_property( if (!path_is_absolute(source)) return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Source path %s is not absolute.", source); if (!path_is_absolute(destination)) - return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Destination path %s is not absolute.", source); + return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Destination path %s is not absolute.", destination); if (!IN_SET(mount_flags, 0, MS_REC)) return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown mount flags.");