aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 9f60b4350..0fa3d4dab 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6077,7 +6077,15 @@ stoppedjobs(void)
6077 return retval; 6077 return retval;
6078} 6078}
6079#else 6079#else
6080# define stoppedjobs() 0 6080static int
6081stoppedjobs(void)
6082{
6083 if (iflag && curjob) {
6084 out2str("You have background jobs.\n");
6085 return 1;
6086 }
6087 return 0;
6088}
6081#endif 6089#endif
6082 6090
6083 6091