datasophon
datasophon copied to clipboard
[Bug] [Module Name] bin/datasophon-api.sh: 34: source: not found
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#
What you expected to happen
success run
How to reproduce
root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#
Anything else
No response
Version
v1.1.2
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The prompt is already very obvious
The prompt is already very obvious
what ?
tell me why. thanks
it's not friendly, 'Source: not found' interfered with my judgment.
I tried running source /etc/profile in the command, and it's work.