also allow eject

SVN revision: 59444
This commit is contained in:
Mike Blumenkrantz 2011-05-16 11:03:45 +00:00
parent 7a53690aee
commit d45b04109b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ main(int argc,
s = strrchr(argv[1], '/');
if ((!s) || (!(++s))) exit(1); /* eeze always uses complete path */
if (strcmp(s, "mount") && strcmp(s, "umount")) exit(1);
if (strcmp(s, "mount") && strcmp(s, "umount") && strcmp(s, "eject")) exit(1);
mnt = EINA_TRUE;
action = argv[1];
}