]> git.ipfire.org Git - people/ms/network.git/commitdiff
Fix typo in listsort().
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 May 2012 14:11:48 +0000 (14:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 May 2012 14:11:48 +0000 (14:11 +0000)
functions.util

index 68e5782368378df6bb96d09d57716c5c57ffe2e5..bb3f64841c575848e18ad8e39204d3f2ff71ce62 100644 (file)
@@ -40,8 +40,9 @@ function warning_log() {
 function listsort() {
        local i
        for i in $@; do
-               echo "${1}"
+               echo "${i}"
        done | sort | tr '\n' ' '
+       echo
 }
 
 function listmatch() {