Codebase list partman-auto / 184e014
Exit straight away if a called script is killed by a signal. r57537 Colin Watson 15 years ago
2 changed file(s) with 8 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
55 while [ $code = 99 ]; do
66 ask_user /lib/partman/automatically_partition
77 code=$?
8 if [ $code -ge 100 ]; then
8 if [ $code -ge 128 ] && [ $code -lt 192 ]; then
9 exit $code # killed by signal
10 elif [ $code -ge 100 ]; then
911 # 255: backup from subsidiary question; break and return to
1012 # choose_partition menu
11 # 100-254: attempt to skip the manual partitioner (from
12 # display.d), which isn't appropriate if the manual partitioner
13 # has already been displayed, so treat this exactly like
14 # backup
13 # 100-127, 192-254: attempt to skip the manual partitioner
14 # (from display.d), which isn't appropriate if the manual
15 # partitioner has already been displayed, so treat this
16 # exactly like backup
1517 exit 0
1618 fi
1719 done
55 and $default_filesystem{ } as an internal specifier. These are
66 equivalent to FS and filesystem{ FS } respectively, where FS is the
77 value of partman/default_filesystem. Requires partman-base 129.
8 - Exit straight away if a called script is killed by a signal.
89
910 -- Colin Watson <[email protected]> Sat, 10 Jan 2009 00:12:35 +0000
1011