Skip to content

Commit 26f23c2

Browse files
committed
Fix Status update in description bug!
1 parent 1a73ddf commit 26f23c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ update_description() {
5050
esac
5151

5252
local desc="TCP Optimisations & update tcp_cong_algo based on interface | iface: $iface $icon | algo: $algo"
53-
run_as_root "sed -i \"s/^description=.*/description=$desc/\" \"$MODPATH/module.prop\""
53+
run_as_root "sed -i '0,/^description=.*/s//description='"$desc"'/' \"$MODPATH/module.prop\""
5454
}
5555

5656
kill_tcp_connections() {

0 commit comments

Comments
 (0)