]> git.siccegge.de Git - tools.git/commitdiff
[backup-zfs] Use gpg2 (no particular reason)
authorChristoph Egger <christoph@christoph-egger.org>
Mon, 5 Jan 2015 17:56:46 +0000 (18:56 +0100)
committerChristoph Egger <christoph@christoph-egger.org>
Mon, 5 Jan 2015 17:59:51 +0000 (18:59 +0100)
backup-zfs

index b530bc9fb8e636aa1ccb0a70bf0fc0f5a0fd31de..49c16566c2502cfc45dadc62a523a5c83492f3ee 100755 (executable)
@@ -93,7 +93,7 @@ def sftp_send(dataset, reference=None):
     zfs = subprocess.Popen(zfscommand, stdout=subprocess.PIPE, bufsize=2*BUFFER)
     print(zfscommand)
 
-    gpgcommand = [ 'gpg', '--batch', '--compress-algo', 'ZLIB',
+    gpgcommand = [ 'gpg2', '--batch', '--compress-algo', 'ZLIB',
                    '--sign', '--encrypt', '--recipient', GPGUSER ]
     gpg = subprocess.Popen(gpgcommand, bufsize=2*BUFFER,
                                        stdout=subprocess.PIPE,