The following commit has been merged in the master branch:
commit b7f2f91179844b21728aa0d31074f3b2caa9e776
Author: Guillem Jover <[email protected]>
Date:   Fri Sep 25 15:33:44 2009 +0200

    Do not print redundant dpkg prefix and new line on undefined PATH

diff --git a/src/help.c b/src/help.c
index 296c9ec..d0b104f 100644
--- a/src/help.c
+++ b/src/help.c
@@ -102,7 +102,8 @@ void checkpath(void) {
   long l;
 
   path= getenv("PATH");
-  if (!path) ohshit(_("dpkg - error: PATH is not set.\n"));
+  if (!path)
+    ohshit(_("error: PATH is not set."));
   buf=(char*)m_malloc(strlen(path)+2+strlen("start-stop-daemon"));
   
   for (clp=checklist; *clp; clp++) {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to