summaryrefslogtreecommitdiff
path: root/stream-ui.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2010-07-15 20:09:38 -0700
committerAaron Plattner <aplattner@nvidia.com>2010-07-15 20:09:38 -0700
commite038c188b7ddf081bfd724d0a258e20b220f28b8 (patch)
tree0d43dc440861a346bcc3f7e7f9be6deb8f37e366 /stream-ui.c
parent29f22c11be1f61fefb9bcdcd2fe09d91c99e010e (diff)
173.14.27173.14.27
Diffstat (limited to 'stream-ui.c')
-rw-r--r--stream-ui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stream-ui.c b/stream-ui.c
index 6e7806c..1df9d23 100644
--- a/stream-ui.c
+++ b/stream-ui.c
@@ -331,6 +331,9 @@ int stream_approve_command_list(Options *op, CommandList *cl,
fmtoutp(prefix, "install the file '%s' as '%s' with "
"permissions '%s'", c->s0, c->s1, perms);
free(perms);
+ if (c->s2) {
+ fmtoutp(prefix, "execute the command `%s`", c->s2);
+ }
break;
case RUN_CMD:
@@ -353,7 +356,8 @@ int stream_approve_command_list(Options *op, CommandList *cl,
default:
fmterrp("ERROR: ", "Error in CommandList! (cmd: %d; s0: '%s';"
- "s1: '%s'; mode: %04o)", c->cmd, c->s0, c->s1, c->mode);
+ "s1: '%s'; s2: '%s'; mode: %04o)",
+ c->cmd, c->s0, c->s1, c->s2, c->mode);
fmterr("Aborting installation.");
return FALSE;
break;