summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-08 21:59:24 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-08 21:59:24 +0000
commitda92a0d5e259a126095e120c7938c6e3be27618c (patch)
tree344d0c54a78a594561686298a5af543bc2903ab4 /client
parent55fffc9edba2e5af12c0d3aa71e039efd9778c61 (diff)
Fix the wallet client to use check instead of exists.
Diffstat (limited to 'client')
-rw-r--r--client/remctl.c2
-rw-r--r--client/wallet.pod4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/remctl.c b/client/remctl.c
index aa9a9f8..74e2cf5 100644
--- a/client/remctl.c
+++ b/client/remctl.c
@@ -87,7 +87,7 @@ object_exists(struct remctl *r, const char *prefix, const char *type,
size_t length;
command[0] = prefix;
- command[1] = "exists";
+ command[1] = "check";
command[2] = type;
command[3] = name;
command[4] = NULL;
diff --git a/client/wallet.pod b/client/wallet.pod
index 3f2ca51..b6e8ff4 100644
--- a/client/wallet.pod
+++ b/client/wallet.pod
@@ -262,7 +262,7 @@ given. This may trigger generation of new data and invalidate old data
for that object depending on the object type.
If an object with type <type> and name <name> does not already exist when
-this command is issued (as checked with the exists interface), B<wallet>
+this command is issued (as checked with the check interface), B<wallet>
will attempt to automatically create it (using autocreate).
=item getacl <type> <name> <acl>
@@ -334,7 +334,7 @@ length of the operating system of the wallet server. These restrictions
will be lifted in the future.
If an object with type <type> and name <name> does not already exist when
-this command is issued (as checked with the exists interface), B<wallet>
+this command is issued (as checked with the check interface), B<wallet>
will attempt to automatically create it (using autocreate).
=back