diff options
author | David Zeuthen <davidz@redhat.com> | 2007-02-15 19:26:05 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2007-02-15 19:26:05 -0500 |
commit | 650e1500b6b170ec3d036966865b9f12316d4016 (patch) | |
tree | 1882b3c90f66b7cce00ab0270be1331dde41f565 /tools | |
parent | cf5cb809dffe8bbfb25ec90a54c38b0bbe5b4b99 (diff) |
more CK and ACL mgmt work
This commit hopefully adds the remaining hooks so work can continue in
tools/hal-acl-add.c and tools/hal-acl-remove.c.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hal-acl-add.c | 8 | ||||
-rw-r--r-- | tools/hal-acl-remove.c | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/hal-acl-add.c b/tools/hal-acl-add.c index 27677735..4d358d51 100644 --- a/tools/hal-acl-add.c +++ b/tools/hal-acl-add.c @@ -86,6 +86,12 @@ typedef struct HalACL_s { int main (int argc, char *argv[]) { - fprintf (stderr, "hal-acl-add\n"); + int i; + + fprintf (stderr, "hal-acl-add %d\n", argc); + for (i = 0; i < argc; i++) { + fprintf (stderr, " arg %2d: %s\n", i, argv[i]); + } + system ("env |sort"); return 0; } diff --git a/tools/hal-acl-remove.c b/tools/hal-acl-remove.c index 3f9278ba..83f1c7c0 100644 --- a/tools/hal-acl-remove.c +++ b/tools/hal-acl-remove.c @@ -11,5 +11,6 @@ main (int argc, char *argv[]) for (i = 0; i < argc; i++) { fprintf (stderr, " arg %2d: %s\n", i, argv[i]); } + system ("env |sort"); return 0; } |