Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41332 - Queue of commands on the command line
Summary: Queue of commands on the command line
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 22:20 UTC by david walker
Modified: 2004-02-11 22:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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