Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / builtins / suspend.def
index c1dc6d1..43391c0 100644 (file)
@@ -1,7 +1,7 @@
 This file is suspend.def, from which is created suspend.c.
 It implements the builtin "suspend" in Bash.
 
-Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
+Copyright (C) 1987-2002 Free Software Foundation, Inc.
 
 This file is part of GNU Bash, the Bourne Again SHell.
 
@@ -89,7 +89,7 @@ suspend_builtin (list)
 
   if (job_control == 0)
     {
-      builtin_error ("cannot suspend a shell without job control");
+      sh_nojobs ("cannot suspend");
       return (EXECUTION_FAILURE);
     }