diff options
-rwxr-xr-x | debian/open-infrastructure-container-tools.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst index 62461bf..9f0b42e 100755 --- a/debian/open-infrastructure-container-tools.postinst +++ b/debian/open-infrastructure-container-tools.postinst @@ -111,7 +111,7 @@ EOF mv -f "${CONFFILE}.tmp" "${CONFFILE}" - if [ -x "$(which sysctl)" ] + if command -v sysctl > /dev/null 2>&1 then sysctl -q -p /etc/sysctl.d/zz-container.conf fi |