git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7b32f76
)
Use razor_write() for piping script to interpreter.
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 5 Apr 2008 04:44:45 +0000 (
00:44
-0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 5 Apr 2008 04:44:45 +0000 (
00:44
-0400)
rpm.c
patch
|
blob
|
history
diff --git
a/rpm.c
b/rpm.c
index
e315701
..
966d1fe
100644
(file)
--- a/
rpm.c
+++ b/
rpm.c
@@
-384,7
+384,7
@@
run_script(struct installer *installer,
exit(-1);
}
} else {
- if (script && write(fd[1], script, strlen(script)) < 0) {
+ if (script && razor_write(fd[1], script, strlen(script)) < 0) {
fprintf(stderr, "failed to pipe script, %m\n");
return -1;
}