diff options
| author | Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | 2015-02-26 11:24:54 +0100 |
|---|---|---|
| committer | Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | 2015-02-26 11:24:54 +0100 |
| commit | 4548760977ac89a3be210f3636ccf18e09b56856 (patch) | |
| tree | a3b50b44ef3ec5dc931fab5ed72c6604262b0fcf | |
| parent | fd06f20e6d4b1df4c49fa91b7228cb7706bb0849 (diff) | |
providers:checkbox: quote argument to umount
This patch "fixes" an issue when optical_write_test would crash mid-way when writing of a disk fails and there is no mount point. It's better to crash on subsequent failures than to run umount in a way that prints the help message. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
| -rwxr-xr-x | bin/optical_write_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/optical_write_test b/bin/optical_write_test index d803c04..b127667 100755 --- a/bin/optical_write_test +++ b/bin/optical_write_test @@ -123,7 +123,7 @@ cleanup(){ cd $START_DIR echo "Now residing in $PWD" echo "Cleaning up ..." - umount $MOUNT_PT + umount "$MOUNT_PT" rm -fr $TEMP_DIR echo "Ejecting spent media ..." eject $OPTICAL_DRIVE |
