]> granicus.if.org Git - icinga2/commitdiff
Fix arguments for tar
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 27 Jun 2014 11:44:00 +0000 (13:44 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 27 Jun 2014 11:44:00 +0000 (13:44 +0200)
refs #6526

contrib/icinga2-setup-agent.cmake

index 08a6adb9523b5f4e85386c54253644275b641164..3e4c889f4177bc24927463dff8318175eaba5bd7 100644 (file)
@@ -18,7 +18,7 @@ if [ -n "$1" ]; then
                exit 1
        fi
 
-       if ! base64 -i -d $1 | tar ztf >/dev/null 2>&1; then
+       if ! base64 -i -d $1 | tar zt >/dev/null 2>&1; then
                echo "The bundle file is invalid or corrupted."
                exit 1
        fi