Skip to content

“squashfuse --version” exits unsuccessfully with code 254 #147

@reidpr

Description

@reidpr

For example:

$ squashfuse --version
squashfuse 0.6.1 (c) 2012 Dave Vasilevsky

Usage: squashfuse [options] ARCHIVE MOUNTPOINT

squashfuse options:
    -o offset=N            offset N bytes into ARCHIVE to mount
    -o subdir=PATH         mount subdirectory PATH of ARCHIVE
    -o notify_pipe=PATH    named pipe that will receive 's' (success)
                           or 'f' (failure) when the mountpoint is ready

Selection of FUSE options:
    -h   --help            print help
    -V   --version         print version
    -d   -o debug          enable debug output (implies -f)
    -f                     foreground operation
    -o allow_other         allow access by other users
    -o allow_root          allow access by the superuser
$ echo $?
254

I would expect an exit code of zero, since the program correctly did what it was asked.

The use case is CI. I have squashfuse --version in my CI job so I can see in the log what version we got (I’m building the latest tagged version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions