remove a permission warning from the old gpg config during 0.23 transition.
[monkeysphere.git] / src / transitions / 0.23
index b1247cf6282499d160da2582253df56173936e0d..3d6ab9702ced73d6e12265329cc20cac2472b269 100755 (executable)
@@ -63,7 +63,7 @@ if [ -d "$SYSDATADIR"/gnupg-host ] ; then
        # get the old host keygrip (don't know why there would be more
        # than one, but we'll transfer all tsigs made by any key that
        # had been given ultimate ownertrust):
-       for authgrip in $(GNUPGHOME="$SYSDATADIR"/gnupg-host gpg --export-ownertrust | \
+       for authgrip in $(GNUPGHOME="$SYSDATADIR"/gnupg-host gpg --no-permission-warning --export-ownertrust | \
            grep ':6:$' | \
            sed -r 's/^[A-F0-9]{24}([A-F0-9]{16}):6:$/\1/') ; do