diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-01 17:52:52 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-01 19:03:36 +0200 |
commit | 6947566f1bf220466c0836ca542daab845cab9ce (patch) | |
tree | 03714da2a363df188a0444893d2d9de71b669fff | |
parent | 64dd9d3839d0c6e9a7e60ee4ee72c3d9beafabcb (diff) | |
download | aports-6947566f1bf220466c0836ca542daab845cab9ce.tar.bz2 aports-6947566f1bf220466c0836ca542daab845cab9ce.tar.xz |
main/nftables: fix wrong return code in runscript's save() func
-rw-r--r-- | main/nftables/APKBUILD | 4 | ||||
-rw-r--r-- | main/nftables/nftables.initd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/nftables/APKBUILD b/main/nftables/APKBUILD index f364eaf2ca..9aa0fb726e 100644 --- a/main/nftables/APKBUILD +++ b/main/nftables/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=nftables pkgver=0.8.3 -pkgrel=0 +pkgrel=1 pkgdesc="Netfilter tables userspace tools" url="http://netfilter.org/projects/nftables" arch="all" @@ -45,4 +45,4 @@ package() { sha512sums="d3d97be10c2dcd1f15b9998e01254ff11438a2d83922e8b5207b641375ea12bb86ecbe4f9cb21cdf5998ddeb7c42b9e424dcb40a359cf42e06b9437a5ce4f72c nftables-0.8.3.tar.bz2 f709e203d949380dce8ffdaed616c047280d3fe7448bb024a6f6c01a17c11bf7caaa5f67b412bc90c9bff4ce91a6fd5e5270d259dc30fdcda81dd2f6221ad0d8 nftables.confd -40a91ef2cff9a8fd5b88888fc601cfbdf30ab0d16bb37997ebee53b7b528de7adc26eca1adfd885fa5b17cc7abf7d4fd30a40385002042d6796aea9c820c3bc6 nftables.initd" +2bb551522fb2c61f4cab3a2ab1d9c84696403007a13521ca08a89fe79a9ae8867357d5664315c97ef09c49c3cdf7c76066f8226153f8c6fcd8b265ba4fbf3826 nftables.initd" diff --git a/main/nftables/nftables.initd b/main/nftables/nftables.initd index 0c11d374bd..689c9b04b0 100644 --- a/main/nftables/nftables.initd +++ b/main/nftables/nftables.initd @@ -61,7 +61,7 @@ save() { if [ ${retval} ]; then mv ${tmp_save} ${NFTABLES_SAVE} fi - return $? + return $retval } start() { |