Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41332

Summary: Queue of commands on the command line
Product: Gentoo Linux Reporter: david walker <azrail>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description david walker 2004-02-11 22:20:40 UTC
I noticed that when entering something like command1 && command2 on the command line that if the user presses ctrl-c it stops both commands from running.  A prime example of this "bug" could be...
emerge -U world && exit    (run as root or something)
if at the term ctrl-c is pressed it drops back to a root prompt insead of then processing the exit command.

Reproducible: Always
Steps to Reproduce:
1.see details above
Actual Results:  
It drops to root.

Expected Results:  
it continues to the next commands on the line
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-11 22:25:07 UTC
ctrl-c isn't a successful exit

blah || foo would work though, if you ctrl c'd the blah process

man bash