Fix metric, thanks to ikelos.
authorRoy Marples <roy@marples.name>
Sat, 7 Feb 2009 14:21:04 +0000 (14:21 +0000)
committerRoy Marples <roy@marples.name>
Sat, 7 Feb 2009 14:21:04 +0000 (14:21 +0000)
resolvconf.in

index 714c7bf582379d1722f21b96ca60b2c59dcd4500..1274bf8bc950b0db8352cd9a0e9716269f84cfcb 100644 (file)
@@ -227,7 +227,7 @@ if [ "${CMD}" = "l" -o "${CMD}" = "i" ]; then
        # and then anything else.
        if [ -z "${LIST}" ]; then
                LIST="lo lo[0-9]* "
-               if [ -d "${METRCICDIR}" ]; then
+               if [ -d "${METRICDIR}" ]; then
                        cd "${METRICDIR}"
                        for METRIC in *; do
                                LIST="${LIST} ${METRIC#* }"