]> git.decadent.org.uk Git - dak.git/commitdiff
ooops, shouldn't have sudo invoke dak edit-transitions if it's renamed...
authorAnthony Towns <aj@azure.humbug.org.au>
Fri, 21 Mar 2008 19:56:35 +0000 (19:56 +0000)
committerAnthony Towns <aj@azure.humbug.org.au>
Fri, 21 Mar 2008 19:56:35 +0000 (19:56 +0000)
dak/transitions.py

index a38ab26a9a206b7b36784947269c9e2af6bfcff6..15aef62e2c48a0b68d57db19ab3267f395f1d4a6 100755 (executable)
@@ -149,7 +149,7 @@ def write_transitions_from_file(from_file):
 
     if Options["sudo"]:
         os.spawnl(os.P_WAIT, "/usr/bin/sudo", "/usr/bin/sudo", "-u", "dak", "-H", 
-              "/usr/local/bin/dak", "edit-transitions", "--import", from_file)
+              "/usr/local/bin/dak", "transitions", "--import", from_file)
     else:
         trans = load_transitions(from_file)
         if trans is None: