Skip to content

Commit

Permalink
fix more run script
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Jan 12, 2022
1 parent 7040e9e commit 5ac5cb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Docker/rootfs/etc/services.d/NetDaemonAddOnApp/run
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ then
exit 1
fi

if [[ ! -z "${NETDAEMON__APPLICATION_ASSEMBLY}" ]] && [[ ! "${NETDAEMON__APPLICATION_ASSEMBLY}" == *.dll ]];
if [[ ! -z "${NETDAEMON__APPLICATION_ASSEMBLY}" ]] && [[ "${NETDAEMON__APPLICATION_ASSEMBLY}" != *.dll ]];
then
echo -e "\\033[31mAssembly needs to point to a .dll file!\\033[0m" >&2
exit 1
Expand Down
2 changes: 1 addition & 1 deletion Docker/rootfs/etc/services.d/NetDaemonApp/run
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ then
exit 1
fi

if [[ ! -z "${NETDAEMON__APPLICATION_ASSEMBLY}" ]] && [[ ! "${NETDAEMON__APPLICATION_ASSEMBLY}" == *.dll ]];
if [[ ! -z "${NETDAEMON__APPLICATION_ASSEMBLY}" ]] && [[ "${NETDAEMON__APPLICATION_ASSEMBLY}" != *.dll ]];
then
echo -e "\\033[31mAssembly needs to point to a .dll file!\\033[0m" >&2
exit 1
Expand Down

0 comments on commit 5ac5cb3

Please sign in to comment.