Skip to content

Commit

Permalink
install.sh: Add basic error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Sep 14, 2024
1 parent 883d966 commit 06cbc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkdir -p $SMAX/lua || exit 1
cp -a lua $SMAX || exit 2

# install script loader and systemd unit file
install -m 755 smax-init.sh /usr/bin/ || exit 3
install -m 755 smax-init.sh /usr/bin/ || ( exho exit 3
install -m 644 smax-scripts.service /etc/systemd/system/ || exit 4

# Register smax-scripts with systemd
Expand Down

0 comments on commit 06cbc05

Please sign in to comment.