From 71cd8e3a743046573744123777061b64881bf372 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 4 Jul 2015 17:13:50 +0300 Subject: Imported Upstream version 8.24 --- lib/userspec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/userspec.c') diff --git a/lib/userspec.c b/lib/userspec.c index 1be9266e..84632c37 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -1,5 +1,5 @@ /* userspec.c -- Parse a user and group string. - Copyright (C) 1989-1992, 1997-1998, 2000, 2002-2014 Free Software + Copyright (C) 1989-1992, 1997-1998, 2000, 2002-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -234,7 +234,7 @@ parse_with_separator (char const *spec, char const *separator, free (u); free (gname); - return _(error_msg); + return error_msg ? _(error_msg) : NULL; } /* Extract from SPEC, which has the form "[user][:.][group]", -- cgit v1.2.3