diff options
| -rw-r--r-- | NEWS | 4 | ||||
| -rw-r--r-- | client/remctl.c | 2 | ||||
| -rw-r--r-- | client/wallet.pod | 4 | ||||
| -rwxr-xr-x | tests/data/cmd-fake | 2 | 
4 files changed, 8 insertions, 4 deletions
| @@ -1,5 +1,9 @@                         User-Visible wallet Changes +wallet 0.8 (unreleased) + +    Fix the wallet client to use check instead of exists. +  wallet 0.7 (2008-02-08)      Add new exists and autocreate wallet server interfaces.  The first 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 diff --git a/tests/data/cmd-fake b/tests/data/cmd-fake index 17bbb90..d12f839 100755 --- a/tests/data/cmd-fake +++ b/tests/data/cmd-fake @@ -67,7 +67,7 @@ setattr)          ;;      esac      ;; -exists) +check)      if [ -n "$2" ] ; then          echo "Too many arguments" >&2          exit 1 | 
