Re: [PATCH] fdisk: quit immediately with a single CTRL-D

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
On 2010/12/31 Karel Zak <kzak@xxxxxxxxxx> wrote:

 > From my point of view it's bad idea to quit immediately, the CTRL-D
 > could be typo and then you lost all unwritten changes. The ideal
 > solution is to ask ("Do you really want to quit?" y/n/^D) before you
 > call exit(). (Note that fdisk is often called from scripts, so
 > CTRL-D has to be acceptable answer to the question.)

Ok, new patch attached.

Francesco
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux