From 6c10071d5ab0d684b74b21ccc1d903bb949be2f2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 9 May 2007 16:55:12 +0000 Subject: remove "\n" from error message for re-use in gurpmi.addmedia --- urpmi.addmedia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmi.addmedia') diff --git a/urpmi.addmedia b/urpmi.addmedia index 55fe9a3a..e1d0eece 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -108,7 +108,7 @@ $options{verbose} > 0 or $urpm->{log} = sub {}; $options{quiet} = 1 if $options{verbose} < 0; $url or ($url, $name) = ($name, ''); -$url =~ m,^(([^:]*):/)?/, or die N("bad (for local directory, the path must be absolute)\n"); +$url =~ m,^(([^:]*):/)?/, or die N("bad (for local directory, the path must be absolute)") . "\n"; if ($< != 0) { $urpm->{fatal}(1, N("Only superuser is allowed to add media")); -- cgit v1.2.1