From: Philipp Spitzer Date: Tue, 8 Apr 2014 20:46:51 +0000 (+0200) Subject: Omit the full path when calling nsupdate_dyndns. X-Git-Tag: 0.0.2~2 X-Git-Url: https://git.toastfreeware.priv.at/toast/tdyndns.git/commitdiff_plain/6d4fb6929e6e745a2ea9022d28288ae072da17a5?hp=f03a733afb012d967d3eb9c2ee968c78435f79e9 Omit the full path when calling nsupdate_dyndns. --- diff --git a/cgi-bin/dyndns.py b/cgi-bin/dyndns.py index 285d0dc..5cbf1ce 100755 --- a/cgi-bin/dyndns.py +++ b/cgi-bin/dyndns.py @@ -162,7 +162,7 @@ try: raise MyipInvalid() # update bind - call_params = ['sudo', '/usr/local/bin/nsupdate_dyndns'] + call_params = ['sudo', 'nsupdate_dyndns'] if offline: call_params.append('--delete') if myip is not None: