svn commit: trunk/busybox/shell

vda at busybox.net vda at busybox.net
Tue Jul 29 11:47:46 UTC 2008


Author: vda
Date: 2008-07-29 04:47:46 -0700 (Tue, 29 Jul 2008)
New Revision: 22982

Log:
hush: fix inverted check (was making all break's to act as "break 99999")



Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2008-07-29 11:37:15 UTC (rev 22981)
+++ trunk/busybox/shell/hush.c	2008-07-29 11:47:46 UTC (rev 22982)
@@ -4571,7 +4571,7 @@
 			depth_break_continue = UINT_MAX;
 		}
 	}
-	if (depth_of_loop > depth_break_continue)
+	if (depth_of_loop < depth_break_continue)
 		depth_break_continue = depth_of_loop;
 	return EXIT_SUCCESS;
 }




More information about the busybox-cvs mailing list