![](https://seccdn.libravatar.org/avatar/36a2f74c70460600b99c43b241a27104.jpg?s=120&d=mm&r=g)
Rupert Kolb schrieb:
Helga Fischer schrieb: [...]
Die Shell meint bei der Ausführung: ./ddclient: line 110: exit: 5}: numeric argument required
Das gehört zum Text:
# Check for missing binaries (stale symlinks should not happen) DDCLIENT_BIN=/usr/sbin/ddclient test -x $DDCLIENT_BIN || {echo "$DDCLIENT_BIN not installed"; exit 5}
richtig sollte sein: ... || { echo "$DDCLIENT_BIN not installed"; exit 5; } ^ ^ ^ ^ whitespace Whitespace ^ Semikolon (ich habe damit auch schon gekämpft) Rupert
Leerzeichen oder allgemeiner whitespace um die geschweiften Klammern:
man bash ... { list; } list is simply executed in the current shell environment. list must be terminated with a new-line or semicolon. This is known as a group command. The return status is the exit status of list. Note that unlike the metacharacters ( and , { and } are reserved words and must occur where a reserved word is permitted to be recognized. Since they do not cause a word break, they must be separated from list by whitespace. ...