[systemd-devel] Typo fix

Dave Reisner d at falconindy.com
Tue Jan 15 03:09:16 PST 2013


On Tue, Jan 15, 2013 at 12:58:42PM +0200, Oleksii Shevchuk wrote:
> diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
> index d56b4d6..66d031d 100644
> --- a/src/systemctl/systemctl.c
> +++ b/src/systemctl/systemctl.c
> @@ -1042,7 +1042,7 @@ static bool need_daemon_reload(DBusConnection *bus, const char *unit) {
>          /* We ignore all errors here, since this is used to show a warning only */
>  
>          n = unit_name_mangle(unit);
> -        if (n)
> +        if (!n)
>                  return log_oom();
>  
>          r = bus_method_call_with_reply (
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Thanks, applied


More information about the systemd-devel mailing list