From: Enrico Scholz Date: Fri, 20 Feb 2004 17:02:40 +0000 (+0000) Subject: cleanup output in error-case X-Git-Tag: VERSION_0_10~594 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f097def11a0b0302a3746dc5f570c5a346a729d;p=util-vserver.git cleanup output in error-case git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@969 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/vlimit.c b/util-vserver/src/vlimit.c index 31b5894..690b672 100644 --- a/util-vserver/src/vlimit.c +++ b/util-vserver/src/vlimit.c @@ -124,7 +124,7 @@ showAll(int ctx) if (vc_get_rlimit_mask(-2, &mask)==-1) { perror("vc_get_rlimit_mask()"); - //exit(1); + exit(1); } for (i=0; i<32; ++i) { @@ -134,7 +134,7 @@ showAll(int ctx) if (vc_get_rlimit(ctx, i, &limit)==-1) { perror("vc_get_rlimit()"); - //continue; + continue; } memset(buf, ' ', sizeof buf); @@ -147,7 +147,7 @@ showAll(int ctx) *ptr++ = '\n'; write(1, buf, ptr-buf); - } + } } static void