pagure Logo
  • Log In

heroes / salt

Clone
Source Code
GIT
  • Source
  • Stats
 Overview  Files  Commits  Branches  Forks  Releases

Files

Branch: lrupp-production-patch-08358
adjust-ci-pipeline anikitin/mirrorcache anikitin/t_allow_jinja_in_secrets anikitin/web_mirrors__proxy_mirrorcache bootloader cboltz-borgbackup cboltz-relnotes-15.3 cboltz-scar-sshd doc-o-o gateway hellcp/matrix-synapse-workers-syntax hellcp/paste-sync ifconfig infra libvirt lrupp-production-patch-08358 lrupp/add_identification lrupp/remove_login_interface lrupp/retire lrupp/serve_www mailman micro monitoring-restart paste-socket postfix-aliases production repositories set-secret-detection-config-1 sysctl update-access-crtmgr
  1.   lrupp-production-patch-08358
  2.   bin
  3.   test_empty_files.sh
Blob Blame History Raw
#!/bin/bash

EMPTY=$(find . -type f -empty)

if [[ -n $EMPTY ]]; then
    echo "The following files are empty:"
    for file in ${EMPTY[@]}; do
        echo ${file}
    done
    exit 1
fi
Powered by Pagure 5.13.3
Documentation • About this Instance • SSH Hostkey/Fingerprint
© Red Hat, Inc. and others.