Omit the full path when calling nsupdate_dyndns.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 8 Apr 2014 20:46:51 +0000 (22:46 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 8 Apr 2014 20:46:51 +0000 (22:46 +0200)
cgi-bin/dyndns.py

index 285d0dc..5cbf1ce 100755 (executable)
@@ -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: