diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-20 16:37:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-20 20:40:44 +0100 |
commit | c660bb094288d89762cdbedd08661127988e5548 (patch) | |
tree | ed86da3a3464f9f664f7f6cbcd293589e00bc845 /src/import/import.c | |
parent | 8f6950587ab7b4d6fe1b51241759cc3a4682b96d (diff) |
import: add a couple of additional suffixes to remove from raw images
Diffstat (limited to 'src/import/import.c')
-rw-r--r-- | src/import/import.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/import/import.c b/src/import/import.c index f44d47df9d..62e3118a7f 100644 --- a/src/import/import.c +++ b/src/import/import.c @@ -165,9 +165,11 @@ static void on_raw_finished(RawImport *import, int error, void *userdata) { static int strip_raw_suffixes(const char *p, char **ret) { static const char suffixes[] = ".xz\0" + ".gz\0" ".raw\0" ".qcow2\0" - ".img\0"; + ".img\0" + ".bin\0"; _cleanup_free_ char *q = NULL; |