]> git.ipfire.org Git - network.git/commitdiff
network: Log assertion errors.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Jun 2010 13:36:26 +0000 (15:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Jun 2010 13:36:26 +0000 (15:36 +0200)
functions.util

index c3b3989e2e23206739547d080e61235575e0cf56..e61a41b86bddb0f30731564f69215c70c469eb74 100644 (file)
@@ -203,7 +203,7 @@ function assert() {
        local assertion="$@"
 
        if ! ${assertion}; then
-               error "Assertion '${assertion}' failed."
+               error_log "Assertion '${assertion}' failed."
                exit ${EXIT_ERROR}
        fi