mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
fix: wrong logic in if condition
This commit is contained in:
@@ -117,7 +117,7 @@ install_webui(){
|
||||
$1_port_check
|
||||
|
||||
### ask user to install mjpg-streamer
|
||||
if ls /etc/systemd/system/webcamd.service 2>/dev/null 1>&2; then
|
||||
if ! ls /etc/systemd/system/webcamd.service 2>/dev/null 1>&2; then
|
||||
get_user_selection_mjpg-streamer
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user