fixed a log mask

This commit is contained in:
Aurelien Foret 2005-03-29 22:17:27 +00:00
parent 3bbfdf4ce8
commit c1b2f48abf

View file

@ -403,7 +403,7 @@ int _alpm_runscriptlet(char *root, char *installfn, char *script, char *ver, cha
snprintf(cmdline, PATH_MAX, "echo \"umask 0022; source %s %s %s\" | chroot %s /bin/sh", snprintf(cmdline, PATH_MAX, "echo \"umask 0022; source %s %s %s\" | chroot %s /bin/sh",
scriptpath, script, ver, root); scriptpath, script, ver, root);
} }
_alpm_log(PM_LOG_FLOW2, "%s", cmdline); _alpm_log(PM_LOG_DEBUG, "%s", cmdline);
system(cmdline); system(cmdline);
if(strlen(tmpdir) && _alpm_rmrf(tmpdir)) { if(strlen(tmpdir) && _alpm_rmrf(tmpdir)) {