rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone
bb9a7e
diff --git a/builtins/wait.def b/builtins/wait.def
bb9a7e
--- a/builtins/wait.def
bb9a7e
+++ b/builtins/wait.def
bb9a7e
@@ -213,11 +213,11 @@ wait_builtin (list)
bb9a7e
 	}
bb9a7e
 
bb9a7e
       status = wait_for_any_job (wflags, &pstat);
bb9a7e
-      if (status < 0)
bb9a7e
-	status = 127;
bb9a7e
-
bb9a7e
       if (vname && status >= 0)
bb9a7e
 	bind_var_to_int (vname, pstat.pid);
bb9a7e
+
bb9a7e
+      if (status < 0)
bb9a7e
+	status = 127;
bb9a7e
       if (list)
bb9a7e
 	unset_waitlist ();
bb9a7e
       WAIT_RETURN (status);
bb9a7e
diff --git a/patchlevel.h b/patchlevel.h
bb9a7e
--- a/patchlevel.h
bb9a7e
+++ b/patchlevel.h
bb9a7e
@@ -25,6 +25,6 @@
bb9a7e
    regexp `^#define[ 	]*PATCHLEVEL', since that's what support/mkversion.sh
bb9a7e
    looks for to find the patch level (for the sccs version string). */
bb9a7e
 
bb9a7e
-#define PATCHLEVEL 1
bb9a7e
+#define PATCHLEVEL 2
bb9a7e
 
bb9a7e
 #endif /* _PATCHLEVEL_H_ */