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: