Sunil Mohan Adapa 955dfea866
storage: Fix regression with showing error messages
In ed09028fcd2c850c3b87b65de66187b214190150, when eject was made to run as
superuser inside storage action, parsing of the error messages was not handled
properly. Fix it to show simple error messages about why the eject was not
successful.

Tests performed:

- In a terminal, switch to the directory where a disk is mounted to keep the
mount point busy. Attempt to eject the disk. A large stack trace is shown
without the patch and a clean error message is shown with it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-06-24 07:23:27 -04:00
..
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
i2p
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-05-18 08:49:31 -04:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-21 21:47:54 -05:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
ssh
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
tor
2020-05-24 08:59:55 -04:00
2020-02-19 14:39:36 +02:00