Skip to content

centos 7 cannot run ./setup.sh help #2518

@jasonbohan

Description

@jasonbohan

Subject

Other

Description

./setup.sh cannot run

system: CentOS 7.9
bash version:
[root@host-10-0-0-107 mailserver]# bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I change the setup.sh #/bin/bash to #/usr/bin/bash
the same error

# CODE GOES HERE
[root@host-10-0-0-107 mailserver]# ./setup.sh help
./setup.sh: line 29: shopt: inherit_errexit: invalid shell option name
[root@host-10-0-0-107 mailserver]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomeone asked a question - feel free to answermeta/help wantedThe OP requests help from others - chime in! :Dmeta/needs triageThis issue / PR needs checks and verification from maintainerspriority/low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions