Commit d0ba1003 authored by Thiemo Seufer's avatar Thiemo Seufer

Don't use di_exec_shell_log for udpkg -f.

r18248
parent 052550cc
......@@ -10,8 +10,8 @@ udpkg (0.025) UNRELEASED; urgency=low
* Thiemo Seufer
- Don't generate useless Makefile targets, fix package name, require
modern automake versions in configure.ac.
- Replace asprintf with snprintf, system with di_exec_shell_log in
udpkg.c. Formatting fixes.
- Replace asprintf with snprintf, in udpkg.c. Improve error messages.
Formatting fixes.
-- Bastian Blank <waldi@debian.org> Sun, 11 Apr 2004 10:32:10 +0200
......
......@@ -395,7 +395,7 @@ static int dpkg_fields(struct package_t *pkg)
return 1;
}
snprintf(buf, sizeof(buf), "ar -p %s control.tar.gz|tar -xzOf - ./control", pkg->file);
if ((ret = di_exec_shell_log(buf)) != 0)
if ((ret = system(buf)) != 0)
FPRINTF(stderr, "field extraction failed with status %d\n", ret);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment