From 1f983863fc193cc0ffec80416a9ba7c4daa5bfe7 Mon Sep 17 00:00:00 2001 From: Terrell Russell Date: Fri, 18 Nov 2016 15:17:42 -0500 Subject: [PATCH] fix typo, 3x --- bin/github-backup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/github-backup b/bin/github-backup index 63098cd..a33565d 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -703,12 +703,12 @@ def fetch_repository(name, remote_url, local_dir, skip_existing=False): masked_remote_url = mask_password(remote_url) - initalized = subprocess.call('git ls-remote ' + remote_url, + initialized = subprocess.call('git ls-remote ' + remote_url, stdout=FNULL, stderr=FNULL, shell=True) - if initalized == 128: - log_info("Skipping {0} ({1}) since it's not initalized".format(name, masked_remote_url)) + if initialized == 128: + log_info("Skipping {0} ({1}) since it's not initialized".format(name, masked_remote_url)) return if clone_exists: