diff --git a/src/ldevice.c b/src/ldevice.c index 211a25366352c6ce52c3e9de8a753eff009abc61..3d99e4db91c99d5249c84c3369182240c1b1e219 100644 --- a/src/ldevice.c +++ b/src/ldevice.c @@ -393,7 +393,7 @@ const char* system_get_blkid() { } char command[128]; - snprintf(command, sizeof(command), "blkid %s", device); + snprintf(command, sizeof(command), "blkid %s | sed 's/\"//g'", device); fp = popen(command, "r"); if (fp == NULL) {