From: dlezcano Date: Wed, 3 Sep 2008 09:29:39 +0000 (+0000) Subject: Remove annoying error message X-Git-Tag: lxc-2.1.1~3559 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e7b2d1b0230291ad3e98c5f579c4a75c5ddc4888;p=mirror_lxc.git Remove annoying error message --- diff --git a/src/liblxc/lxc_state.c b/src/liblxc/lxc_state.c index 462298dc1..3ef908038 100644 --- a/src/liblxc/lxc_state.c +++ b/src/liblxc/lxc_state.c @@ -169,10 +169,8 @@ static int freezer_state(const char *name) LXCPATH "/%s/freezer.freeze", name); file = fopen(freezer, "r"); - if (!file) { - lxc_log_syserror("failed to open %s", freezer); + if (!file) return -1; - } err = fscanf(file, "%s", status); fclose(file);