diff options
author | Stefan Siegl <stesie@brokenpipe.de> | 2005-03-27 14:13:26 +0000 |
---|---|---|
committer | Stefan Siegl <stesie@brokenpipe.de> | 2005-03-27 14:13:26 +0000 |
commit | a79637a9543b76fc4f031d06f60fee39ca08c6f8 (patch) | |
tree | 44c779d8142fa0c13de55bf14a3adb8089da6018 | |
parent | af69abbba91ac632ea1a6b04501d369fe8cf9df2 (diff) |
emit warning message if program not started as a translator.
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |