From 5fe31e0c3832d3e760521cf7aeb70c1c27e2283e Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen Date: Sat, 4 Oct 2014 22:23:52 +0200 Subject: [PATCH] Fix comparison to be /bin/sh compliant --- plugins/openvpn/openvpn_as_mtime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openvpn/openvpn_as_mtime b/plugins/openvpn/openvpn_as_mtime index c92720f6..c260a598 100755 --- a/plugins/openvpn/openvpn_as_mtime +++ b/plugins/openvpn/openvpn_as_mtime @@ -72,7 +72,7 @@ for i in $LIST1; do done # If TOTU is 0, change to 1 for avoid problem in the division -if [[ $TOTU -eq 0 ]]; then +if [ "$TOTU" = "0" ]; then TOTU=1 fi