Skip to content

Commit

Permalink
replace $[] with $(())
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Jul 20, 2016
1 parent 468cac5 commit 45e4670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subroutines
Expand Up @@ -1099,7 +1099,7 @@ task_finish() {
fai-divert -R
rm -f $FAI_ROOT/etc/apt/apt.conf.d/{10,90}fai
date
echo "The $FAI_ACTION took $[$(cut -d . -f 1 /proc/uptime)-$start_seconds] seconds."
echo "The $FAI_ACTION took $(($(cut -d . -f 1 /proc/uptime)-$start_seconds)) seconds."
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_chboot() {
Expand Down

0 comments on commit 45e4670

Please sign in to comment.