After a surgery like hernia, most persons have no discharge. A discharge means:
a. (most likely) there is a mild infection that will clear up in few days with dressings.
b. (less likely) there is an infection that will require a very minor procedure to empty the pus
c. (least likely) there is an complication that is commoner after laparoscopic surgery, but can also rarely occur after open surgery, such as a discharging seroma (clear fluid: this will clear up after a few days); or a discharging tubercular sinus (this will need testing of the discharge fluid and will not clear up without antibiotics).
You doctor will take a decision based on the colour of the discharge, presence or absence of pain and fever, and time elapsed.