diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2014-06-23 17:51:05 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-24 15:53:18 +1000 |
commit | fa0c1e1419b4a73b4a522bc6f4117b8bf337eabe (patch) | |
tree | 667eeb70326f174980a8753e63fcb9208d2fdf85 /scripts/library/human_to_size.sh | |
parent | 8dbb80cfe9e80a5b70ada4e0b58c97a28a9fc7f7 (diff) | |
download | pacman-fa0c1e1419b4a73b4a522bc6f4117b8bf337eabe.tar.xz |
pacman: Correct signal handler comment and refactor
One of the comments for this function is out of sync with the code.
Since the code exhibits the more sane behavior of treating SIGINT and
SIGHUB the same way (by not exiting pacman when there is a commit in
flight) we adjust the comment.
Given this code flow, the if/else statements can be simplified somewhat
as well.
Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/library/human_to_size.sh')
0 files changed, 0 insertions, 0 deletions