View previous topic :: View next topic |
Author |
Message |
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 510
|
Posted: Wed Mar 06, 2024 6:10 am Post subject: die: command not found |
|
|
quando faccio il restart di mpd, ottengo sempre questo messaggio:
Code: | /etc/init.d/mpd: line 40: die: command not found |
presumo che die dovrebbe essere qualche funzione bash? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31284 Location: here
|
Posted: Wed Mar 06, 2024 7:11 am Post subject: |
|
|
Strano che in uno script openrc ci sia la funzione die, le funzioni disponibili dovrebbero essere
Code: | /lib/rc/bin/checkpath
/lib/rc/bin/ebegin
/lib/rc/bin/eend
/lib/rc/bin/eerror
/lib/rc/bin/eerrorn
/lib/rc/bin/eindent
/lib/rc/bin/einfo
/lib/rc/bin/einfon
/lib/rc/bin/eoutdent
/lib/rc/bin/esyslog
/lib/rc/bin/eval_ecolors
/lib/rc/bin/ewaitfile
/lib/rc/bin/ewarn
/lib/rc/bin/ewarnn
/lib/rc/bin/ewend
/lib/rc/bin/fstabinfo
/lib/rc/bin/get_options
/lib/rc/bin/is_newer_than
/lib/rc/bin/is_older_than
/lib/rc/bin/kill_all
/lib/rc/bin/mountinfo
/lib/rc/bin/on_ac_power
/lib/rc/bin/rc-depend
/lib/rc/bin/save_options
/lib/rc/bin/service_crashed
/lib/rc/bin/service_get_value
/lib/rc/bin/service_hotplugged
/lib/rc/bin/service_inactive
/lib/rc/bin/service_set_value
/lib/rc/bin/service_started
/lib/rc/bin/service_started_daemon
/lib/rc/bin/service_starting
/lib/rc/bin/service_stopped
/lib/rc/bin/service_stopping
/lib/rc/bin/service_wasinactive
/lib/rc/bin/shell_var
/lib/rc/bin/vebegin
/lib/rc/bin/veend
/lib/rc/bin/veindent
/lib/rc/bin/veinfo
/lib/rc/bin/veoutdent
/lib/rc/bin/vewarn
/lib/rc/bin/vewend |
Quindi secondo me le linee con die dovrebbero essere sostituite con
Code: | eerror "messaggio"
return 1 |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 510
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31284 Location: here
|
Posted: Wed Mar 06, 2024 12:18 pm Post subject: |
|
|
Può essere un errore del manutentore del pacchetto, proverei ad aprire un bug. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|