summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2005-03-27 14:13:26 +0000
committerStefan Siegl <stesie@brokenpipe.de>2005-03-27 14:13:26 +0000
commita79637a9543b76fc4f031d06f60fee39ca08c6f8 (patch)
tree44c779d8142fa0c13de55bf14a3adb8089da6018
parentaf69abbba91ac632ea1a6b04501d369fe8cf9df2 (diff)
emit warning message if program not started as a translator.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6e1831b3c..e63bf9bea 100644
--- a/main.c
+++ b/main.c
@@ -51,8 +51,8 @@ _fuse_main(int argc, char *argv[], const struct fuse_operations *op)
/* no assigned bootstrap port, i.e. we got called as a
* common program, not using settrans
*/
-
- return -EPERM;
+ fprintf(stderr, "%s: must be started as a translator.\n", *argv);
+ return EPERM;
}
/* we have got a bootstrap port, that is, we were set up