diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-27 04:31:38 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-27 04:31:38 -0400 |
commit | c7136a8f89ca478cdd53ac9f1821306ad36abe8b (patch) | |
tree | 176032dacec50e565790d4f99f75f1edf9ba1f76 /old-school | |
parent | 1dcfdec30a13b58ef3da9b6b7ee0bea23b8e6c47 (diff) |
on failed install, remove /dev/mapper/samizdatcrypt
Diffstat (limited to 'old-school')
-rwxr-xr-x | old-school/menu-select | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/old-school/menu-select b/old-school/menu-select index e661079..1dbd847 100755 --- a/old-school/menu-select +++ b/old-school/menu-select | |||
@@ -114,6 +114,8 @@ case "$1" in | |||
114 | else | 114 | else |
115 | stop_meter error! | 115 | stop_meter error! |
116 | rm "$loopfile" "$loopfile"k | 116 | rm "$loopfile" "$loopfile"k |
117 | dmsetup remove samizdatcrypt | ||
118 | # TODO: more teardown | ||
117 | error | 119 | error |
118 | fi | 120 | fi |
119 | ;; | 121 | ;; |