Browse Source

Use '$' arithmetic substitution, not old '`' (backtick)

Matteo Savatteri 4 years ago
parent
commit
f9361f249f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vaporget

+ 1 - 1
vaporget

@@ -87,7 +87,7 @@ while getopts m: f; do
 		;;
 	esac
 done
-shift `expr $OPTIND - 1`
+shift $(( $OPTIND - 1 ))
 
 # Use our custom handler for the TERM signal
 trap handle_term TERM