I guess make this explicit even though it will never happen
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 7 Nov 2011 22:37:20 +0000 (22:37 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 7 Nov 2011 22:37:20 +0000 (22:37 +0000)
SVN revision: 64887

src/bin/e_sys_main.c

index 8fad45d..f37adfa 100644 (file)
@@ -180,7 +180,7 @@ main(int argc,
              eina_strbuf_append_printf(buf, "%s ", argv[i]);
           }
         ret = system(eina_strbuf_string_get(buf));
-        if ((!strcmp(action, "umount")) && (!ret))
+        if (mp && (!strcmp(action, "umount")) && (!ret))
           {
                if (rmdir(mp))
                  printf("ERROR: COULD NOT UNLINK MOUNT POINT %s\n", mp);